Просмотр исходного кода

Merge pull request #10254 from weseek/support/omit-unnecessary-vitest-files

support: Remove download-mongo-binary
mergify[bot] 7 месяцев назад
Родитель
Сommit
fbe6afd893

+ 0 - 1
apps/app/package.json

@@ -40,7 +40,6 @@
     "test:vitest": "vitest run --coverage",
     "jest:run": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/integration/tsconfig.json jest --passWithNoTests -- ",
     "reg:run": "reg-suit run",
-    "previtest:run:integ": "vitest run -c test-with-vite/download-mongo-binary/vitest.config.ts test-with-vite/download-mongo-binary",
     "//// misc": "",
     "console": "npm run repl",
     "repl": "cross-env NODE_ENV=development npm run ts-node src/server/repl.ts",

+ 0 - 5
apps/app/test-with-vite/download-mongo-binary/index.spec.ts

@@ -1,5 +0,0 @@
-describe('Download mongo-binary', () => {
-  it('should be success', () => {
-    expect(true).toBeTruthy();
-  });
-});

+ 0 - 16
apps/app/test-with-vite/download-mongo-binary/vitest.config.ts

@@ -1,16 +0,0 @@
-import tsconfigPaths from 'vite-tsconfig-paths';
-import { defineConfig } from 'vitest/config';
-
-export default defineConfig({
-  plugins: [
-    tsconfigPaths(),
-  ],
-  test: {
-    clearMocks: true,
-    globals: true,
-    hookTimeout: 60000, // increased for downloading MongoDB binary file
-    setupFiles: [
-      './test-with-vite/setup/mongoms.ts',
-    ],
-  },
-});