Maintenance work
This commit is contained in:
parent
8910613676
commit
157a8d14d2
3 changed files with 6 additions and 2 deletions
|
|
@ -10,7 +10,8 @@
|
|||
"dev": "vite",
|
||||
"build": "run-p type-check \"build-only {@}\" --",
|
||||
"preview": "vite preview",
|
||||
"test:unit": "vitest run",
|
||||
"vitest": "vitest",
|
||||
"test": "vitest run",
|
||||
"coverage": "vitest run --coverage",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --build"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ describe('main.ts', () => {
|
|||
vi.mocked(createApp).mockImplementation(() => ({
|
||||
use: vi.fn(),
|
||||
mount: vi.fn(),
|
||||
}));
|
||||
} as any));
|
||||
});
|
||||
|
||||
it('creates app and uses plugins', async () => {
|
||||
|
|
|
|||
|
|
@ -19,6 +19,9 @@ export default defineConfig({
|
|||
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
chunkSizeWarningLimit: 2048,
|
||||
},
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
port: 3000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue