Skip to content

Commit 35dd78e

Browse files
committed
Remove Node ESM setup from vitest.config.mts
1 parent 8e6add0 commit 35dd78e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

vitest.config.mts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
import path from 'node:path'
2-
import { fileURLToPath } from 'node:url'
31
import { defineConfig } from 'vitest/config'
42

5-
// No __dirname under Node ESM
6-
const __filename = fileURLToPath(import.meta.url)
7-
const __dirname = path.dirname(__filename)
8-
93
export default defineConfig({
104
test: {
115
environment: 'jsdom',

0 commit comments

Comments
 (0)