We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e606a2 commit d72a854Copy full SHA for d72a854
test.js
@@ -1,9 +1,11 @@
1
import fs from 'fs'
2
import path from 'path'
3
+import { fileURLToPath } from 'url'
4
5
import { spawnSync } from 'child_process'
6
-const playgroundDir = new URL('./playground/', import.meta.url).pathname
7
+const __dirname = path.dirname(fileURLToPath(import.meta.url))
8
+const playgroundDir = path.resolve(__dirname, './playground/')
9
10
for (const projectName of fs.readdirSync(playgroundDir)) {
11
// TODO: test `dev` & `build` commands
0 commit comments