We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0428a8 commit 877ccf9Copy full SHA for 877ccf9
packages/compiler-sfc/__tests__/parse.spec.ts
@@ -359,7 +359,9 @@ h1 { color: red }
359
expect(descriptor.scriptSetup?.lang).toBe('ts')
360
})
361
362
+ // This only tests if the "source to sfc" cache has "defaultScriptLang" as part of the cache key.
363
test('source cache key', () => {
364
+ // The same SFC as previous test
365
const { descriptor, errors } = parse(
366
`
367
<script>console.log(0x06)</script>
0 commit comments