Skip to content

Commit 877ccf9

Browse files
hydratisxzz
authored andcommitted
chore: comment
1 parent b0428a8 commit 877ccf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/compiler-sfc/__tests__/parse.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,9 @@ h1 { color: red }
359359
expect(descriptor.scriptSetup?.lang).toBe('ts')
360360
})
361361

362+
// This only tests if the "source to sfc" cache has "defaultScriptLang" as part of the cache key.
362363
test('source cache key', () => {
364+
// The same SFC as previous test
363365
const { descriptor, errors } = parse(
364366
`
365367
<script>console.log(0x06)</script>

0 commit comments

Comments
 (0)