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 c0b6a8b commit a9b21e1Copy full SHA for a9b21e1
src/__tests__/transformer.test.cjs
@@ -69,7 +69,7 @@ describe('CJS transformer', () => {
69
it('should fail, if console.logs are enabled during preprocessing and there is a console.log statement in the svelte config', () => {
70
expect(
71
() => runTransformer('BasicComp', { preprocess: true, rootMode: 'upward', showConsoleLog: true })
72
- ).toThrow(/^Unexpected token T in JSON at position 0$/)
+ ).toThrow(/^Unexpected token .*T.*/)
73
})
74
75
it('should pass, if console.logs are disabled (default) during preprocessing and there is a console.log statement in the svelte config', () => {
0 commit comments