Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ineshbose committed Oct 9, 2024
1 parent 689b239 commit 2d051e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ describe('tailwindcss module', async () => {
(nuxt.options.tailwindcss.cssPath as string).replace(/\\/g /* windows protocol */, '/'),
)

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

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

0 comments on commit 2d051e2

Please sign in to comment.