Skip to content

Commit a9b108a

Browse files
committed
test: add js file check
1 parent 24b0f34 commit a9b108a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playground/css/__tests__/tests.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ export const tests = (isLightningCSS: boolean) => {
545545
() => {
546546
// Check that empty CSS entry point generates a .css file, not a .js file
547547
expect(findAssetFile(/empty-[-\w]{8}\.css$/)).not.toBeUndefined()
548+
expect(findAssetFile(/empty-[-\w]{8}\.js$/)).toBeUndefined()
548549
},
549550
)
550551
}

0 commit comments

Comments
 (0)