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 6ca3b36 commit 4ca70bcCopy full SHA for 4ca70bc
integrations/vite/index.test.ts
@@ -120,12 +120,12 @@ test(
120
},
121
122
async ({ root, fs }) => {
123
- execSync('echo %cd%', { cwd: root })
+ console.log(execSync('echo %cd%', { cwd: root }).toString())
124
execSync('pnpm run build', { cwd: root })
125
126
- let [[_, content]] = await fs.glob('dist/**/*.css')
127
-
128
- expect(stripTailwindComment(content)).toMatchInlineSnapshot(`
+ for (let [path, content] of await fs.glob('dist/**/*.css')) {
+ expect(path).toMatch(/\.css$/)
+ expect(stripTailwindComment(content)).toMatchInlineSnapshot(`
129
".m-2 {
130
margin: var(--spacing-2, .5rem);
131
}
@@ -134,5 +134,6 @@ test(
134
text-decoration-line: underline;
135
}"
136
`)
137
+ }
138
139
)
0 commit comments