Skip to content

Commit

Permalink
test(legacy): make emit css file test case available (vitejs#11848)
Browse files Browse the repository at this point in the history
  • Loading branch information
sun0day authored Jan 30, 2023
1 parent 128f09e commit d2c26ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion playground/legacy/__tests__/legacy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ describe.runIf(isBuild)('build', () => {
})

test('should emit css file', async () => {
expect(listAssets().some((filename) => filename.endsWith('.css')))
expect(
listAssets().some((filename) => filename.endsWith('.css')),
).toBeTruthy()
})

test('includes structuredClone polyfill which is supported after core-js v3', () => {
Expand Down

0 comments on commit d2c26ef

Please sign in to comment.