mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 11:59:51 +08:00
revert: loadWorkspace unexpected behavior (#1172)
This commit is contained in:
+1
-13
@@ -1,13 +1,8 @@
|
||||
import path from 'node:path';
|
||||
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { fileURLToPath } from 'url';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
test: {
|
||||
include: ['packages/**/*.spec.ts', 'packages/**/*.spec.tsx'],
|
||||
include: ['packages/**/*.spec.ts'],
|
||||
testTimeout: 5000,
|
||||
coverage: {
|
||||
provider: 'istanbul', // or 'c8'
|
||||
@@ -15,11 +10,4 @@ export default defineConfig({
|
||||
reportsDirectory: '.coverage/store',
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@affine/store': path.resolve(
|
||||
fileURLToPath(new URL('packages/store', import.meta.url))
|
||||
),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user