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
But after update to
"@swc/core": "1.4.1",
"@swc/jest": "0.2.36",
"swc-loader": "0.2.6",
and run test with node --expose-gc --no-compilation-cache ./node_modules/.bin/jest --no-cache --verbose false
I've got below for every test.
Failed to deserialize buffer as swc::config::Options
JSON: {"0":{"test":".tsx?$","jsc":{"parser":{"syntax":"typescript","tsx":true,"dynamicImport":true},"transform":{"react":{"runtime":"automatic"}}}},"1":{"test":".jsx?$","jsc":{"parser":{"syntax":"ecmascript","jsx":true,"dynamicImport":true},"transform":{"react":{"runtime":"automatic"}}}},"jsc":{"target":"es2022","transform":{"hidden":{"jest":true}}},"sourceMaps":"inline","module":{"type":"commonjs"},"filename":"/Users/matis/Work/braintrust/frontend/test/jest.polyfills.js"}
Caused by:
unknown field `0` at line 1 column 471
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
until today I used such config to compile both JSX and TSX files:
But after update to
"@swc/core": "1.4.1",
"@swc/jest": "0.2.36",
"swc-loader": "0.2.6",
and run test with
node --expose-gc --no-compilation-cache ./node_modules/.bin/jest --no-cache --verbose false
I've got below for every test.
Anything change in terms of Multiple entries in last updates?
Beta Was this translation helpful? Give feedback.
All reactions