revert: loadWorkspace unexpected behavior (#1172)

This commit is contained in:
Himself65
2023-02-21 20:44:18 -06:00
committed by GitHub
parent 86346b284e
commit 0b072da346
49 changed files with 1225 additions and 2198 deletions
+1 -13
View File
@@ -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))
),
},
},
});