chore: update the config and add changeset
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Fix issue when using `.jsx` files inside tests
|
||||
@@ -148,7 +148,7 @@ async function getProjectConfig(targetPath, displayName) {
|
||||
},
|
||||
},
|
||||
],
|
||||
'^.+\\.(t|j)sx?$': [
|
||||
'\\.(t|j)sx?$': [
|
||||
require.resolve('./jestSwcTransform'),
|
||||
{
|
||||
sourceMaps: envOptions.enableSourceMaps || envOptions.nextTests,
|
||||
@@ -157,7 +157,6 @@ async function getProjectConfig(targetPath, displayName) {
|
||||
syntax: 'typescript',
|
||||
tsx: true,
|
||||
},
|
||||
|
||||
transform: {
|
||||
react: {
|
||||
runtime: 'automatic',
|
||||
|
||||
Reference in New Issue
Block a user