Skip to content
Snippets Groups Projects
Unverified Commit a91d32f2 authored by Acid Chicken (硫酸鶏)'s avatar Acid Chicken (硫酸鶏)
Browse files

test: add connection mock

parent 105f79c3
No related branches found
No related tags found
No related merge requests found
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import { action } from '@storybook/addon-actions';
import { StoryObj } from '@storybook/vue3';
import cpu_mem from './cpu-mem.vue';
export const Default = {
......@@ -34,6 +35,10 @@ export const Default = {
total: 1,
},
},
connection: {
on: action('on'),
send: action('send'),
},
},
parameters: {
layout: 'centered',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment