Skip to content

Commit

Permalink
chore: update vitest configuration to ESM (#2189)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSpencer committed Jul 2, 2024
1 parent bed402c commit 8970e3e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
"check:exports": "node \"./config/scripts/validate-esm.js\"",
"test": "pnpm test:unit && pnpm test:node && pnpm test:browser && pnpm test:native",
"test:unit": "vitest",
"test:node": "vitest run --config=./test/node/vitest.config.ts",
"test:native": "vitest --config=./test/native/vitest.config.ts",
"test:node": "vitest run --config=./test/node/vitest.config.mts",
"test:native": "vitest --config=./test/native/vitest.config.mts",
"test:browser": "playwright test -c ./test/browser/playwright.config.ts",
"test:modules:node": "vitest --config=./test/modules/node/vitest.config.ts",
"test:modules:node": "vitest --config=./test/modules/node/vitest.config.mts",
"test:modules:browser": "playwright test -c ./test/modules/browser/playwright.config.ts",
"test:ts": "vitest --typecheck --config=./test/typings/vitest.config.ts",
"test:ts": "vitest --typecheck --config=./test/typings/vitest.config.mts",
"prepare": "pnpm simple-git-hooks init",
"prepack": "pnpm build",
"release": "release publish",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as path from 'node:path'
import { defineConfig } from 'vitest/config'
import * as tsPackageJson from 'typescript/package.json'
import tsPackageJson from 'typescript/package.json' assert { type: 'json' }
import { invariant } from 'outvariant'
import * as fs from 'fs'

Expand Down
File renamed without changes.

0 comments on commit 8970e3e

Please sign in to comment.