refactor: refacotr preference

This commit is contained in:
vben
2024-06-01 23:15:29 +08:00
parent f7b97e8a83
commit fed47f5e05
139 changed files with 2205 additions and 1450 deletions

View File

@@ -0,0 +1,24 @@
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');
});
});