Skip to content

Commit d2c26ef

Browse files
author
sun0day
authored
test(legacy): make emit css file test case available (#11848)
1 parent 128f09e commit d2c26ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

playground/legacy/__tests__/legacy.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ describe.runIf(isBuild)('build', () => {
111111
})
112112

113113
test('should emit css file', async () => {
114-
expect(listAssets().some((filename) => filename.endsWith('.css')))
114+
expect(
115+
listAssets().some((filename) => filename.endsWith('.css')),
116+
).toBeTruthy()
115117
})
116118

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

0 commit comments

Comments
 (0)