1 parent 903efcb commit 3063479Copy full SHA for 3063479
1 file changed
packages/css/test/css.autoStable.test.ts
@@ -1,19 +1,20 @@
1
import assert from 'node:assert/strict'
2
import path from 'node:path'
3
+import { fileURLToPath } from 'node:url'
4
import test from 'node:test'
5
6
import { cssWithMeta } from '../src/css.js'
7
import type { LightningVisitor } from '../src/helpers.js'
8
import type { SelectorComponent } from 'lightningcss'
9
10
const fixturesDir = path.resolve(
- path.dirname(new URL(import.meta.url).pathname),
11
+ path.dirname(fileURLToPath(import.meta.url)),
12
'fixtures',
13
'auto-stable',
14
'plain',
15
)
16
const modulesDir = path.resolve(
17
18
19
20
'modules',
0 commit comments