Files
ruoyi-plus-vben5/apps/antd-view/src/store/modules/example.test.ts
2024-06-01 23:15:29 +08:00

25 lines
605 B
TypeScript

import { createPinia, setActivePinia } from 'pinia';
import {
// beforeEach,
describe,
// expect,
it,
} from 'vitest';
// import { useAccessStore } from '../modules/access';
describe('useCounterStore', () => {
it('app Name with test', () => {
setActivePinia(createPinia());
// let referenceStore = usePreferencesStore();
// beforeEach(() => {
// referenceStore = usePreferencesStore();
// });
// expect(referenceStore.appName).toBe('vben-admin');
// referenceStore.setAppName('vbenAdmin');
// expect(referenceStore.getAppName).toBe('vbenAdmin');
});
});