Skip to content

Commit 2d051e2

Browse files
committedOct 9, 2024
chore: update test
1 parent 689b239 commit 2d051e2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

Diff for: ‎test/basic.test.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ describe('tailwindcss module', async () => {
3232
(nuxt.options.tailwindcss.cssPath as string).replace(/\\/g /* windows protocol */, '/'),
3333
)
3434

35-
expect(spyStderr).toHaveBeenCalledTimes(0)
36-
expect(spyStdout).toHaveBeenCalledTimes(1)
37-
expect(spyStdout.mock.calls[0][0]).contains('Using Tailwind CSS from ~/tailwind.css')
35+
expect(spyStdout.mock.calls.some(c => (c[0] as string).includes('Using Tailwind CSS from ~/tailwind.css'))).toBeTruthy()
3836
})
3937

4038
test('default js config is merged in', () => {

0 commit comments

Comments
 (0)