Adjust jest.transformModules in create-app

The package name has changed from  `@kyma-project/asyncapi-react` to
`@asyncapi/react-component`.
This commit is contained in:
Oliver Sand
2021-01-20 10:17:47 +01:00
parent 8855f61f67
commit a284f5bc1f
2 changed files with 17 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
---
'@backstage/create-app': patch
---
Due to a package name change from `@kyma-project/asyncapi-react` to
`@asyncapi/react-component` the jest configuration in the root `package.json`
has to be updated:
```diff
"jest": {
"transformModules": [
- "@kyma-project/asyncapi-react
+ "@asyncapi/react-component"
]
}
```
@@ -45,7 +45,7 @@
},
"jest": {
"transformModules": [
"@kyma-project/asyncapi-react"
"@asyncapi/react-component"
]
}
}