You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Colon is expected
4: padding: 20px;
5:
6: span {
^
7: font-weight: bold;
8: }
ParseError: Colon is expected
at error (node_modules/svelte/src/compiler/utils/error.ts:25:16)
at Parser$1.error (node_modules/svelte/src/compiler/parse/index.ts:101:3)
at Object.read_style [as read] (node_modules/svelte/src/compiler/parse/read/style.ts:31:11)
at tag (node_modules/svelte/src/compiler/parse/state/tag.ts:189:27)
at new Parser$1 (node_modules/svelte/src/compiler/parse/index.ts:53:12)
at parse (node_modules/svelte/src/compiler/parse/index.ts:218:17)
at Object.compile (node_modules/svelte/src/compiler/compile/index.ts:93:14)
at compiler (node_modules/svelte-jester/dist/transformer.cjs:135:32)
at Object.processSync [as process] (node_modules/svelte-jester/dist/transformer.cjs:111:12)
at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:464:35)
The text was updated successfully, but these errors were encountered:
I am trying to write a test for the component which is using
scss
as default styling. But test is throwing error that its not able to understandscss
myComponent.svelte
Test File
Jest Config
svelte.config.js
Error Stack
The text was updated successfully, but these errors were encountered: