We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92f1d4b commit 23233beCopy full SHA for 23233be
test/util.ts
@@ -1,7 +1,8 @@
1
import { fileURLToPath } from 'node:url'
2
import { setup } from '@nuxt/test-utils'
3
+import { joinURL } from 'ufo'
4
-export const r = (s: string = '') => fileURLToPath(new URL('./fixture/basic/' + s, import.meta.url))
5
+export const r = (s: string = '') => fileURLToPath(new URL(joinURL('./fixture/basic', s), import.meta.url))
6
7
export const setupNuxtTailwind = (tailwindcss = {}) => {
8
return setup({
0 commit comments