Skip to content

Commit

Permalink
chore: revert debug
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Nov 18, 2023
1 parent d75dc49 commit fe31447
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
6 changes: 0 additions & 6 deletions packages/vitest/src/node/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,12 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest('t
delete viteConfigTest.alias

// viteConfig.test is final now, merge it for real

function debug(obj: object) {
return Object.fromEntries(Object.entries(obj).filter(([k, _v]) => ['retry', 'bail', 'segfaultRetry'].includes(k)))
}
console.log('== configResolved (before)', [debug(options), debug(viteConfigTest)])
options = deepMerge(
{},
configDefaults,
viteConfigTest,
options,
)
console.log('== configResolved (after)', [debug(options)])
options.api = resolveApiServerConfig(options)

// we replace every "import.meta.env" with "process.env"
Expand Down
6 changes: 0 additions & 6 deletions test/core/test/retry-global.test.ts

This file was deleted.

2 changes: 0 additions & 2 deletions test/core/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ export default defineConfig({
port: 3022,
},
test: {
retry: 3,
bail: 4,
name: 'core',
exclude: ['**/fixtures/**', '**/vm-wasm.test.ts', ...defaultExclude],
slowTestThreshold: 1000,
Expand Down

0 comments on commit fe31447

Please sign in to comment.