Less breakages + changeset for CLI

Signed-off-by: Tomasz Szuba <szubster@gmail.com>
This commit is contained in:
Tomasz Szuba
2024-03-18 07:14:57 +00:00
parent 48ef68caa8
commit cc371d6c3f
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/cli': patch
---
Ignore transforming only on `react-use/lib`, not whole `react-use` in jest.
** POTENTIAL BREAKAGE **
If you tests fail, please change to use path import from `react-use/esm/`. It is also recommended to migrate from `react-user/lib` imports to `react-use/esm`
+1
View File
@@ -43,6 +43,7 @@ const transformIgnorePattern = [
'highlight\\.js',
'prismjs',
'json-schema',
'react-use/lib',
'typescript',
].join('|');