chore: update app name

This commit is contained in:
vben
2024-06-08 16:33:49 +08:00
parent 77d40dc763
commit d584d4cf4e
57 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
import { createPinia, setActivePinia } from 'pinia';
import { beforeEach, describe, expect, it } from 'vitest';
import { useCounterStore } from './example';
describe('useCounterStore', () => {
beforeEach(() => {
setActivePinia(createPinia());
});
it('count test', () => {
setActivePinia(createPinia());
const counterStore = useCounterStore();
expect(counterStore.count).toBe(0);
});
});