chore: update the config and add changeset

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-09-02 13:34:03 +02:00
parent 797591c510
commit 742cb4f3d7
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fix issue when using `.jsx` files inside tests
+1 -2
View File
@@ -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',