vitest 0.0.65 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/vitest.mjs CHANGED
@@ -4,13 +4,13 @@ import { fileURLToPath } from 'url'
4
4
  import { resolve } from 'path'
5
5
 
6
6
  const argv = process.argv.slice(2)
7
- const filename = fileURLToPath(import.meta.url)
8
- const entry = resolve(filename, '../../dist/node/cli.js')
9
7
 
10
8
  if (argv.includes('--coverage')) {
9
+ const filename = fileURLToPath(import.meta.url)
10
+ const entry = resolve(filename, '../../dist/cli.js')
11
11
  process.argv.splice(2, 0, process.argv[0], entry)
12
12
  await import('c8/bin/c8.js')
13
13
  }
14
14
  else {
15
- await import('../dist/node/cli.js')
15
+ await import('../dist/cli.js')
16
16
  }