Merge pull request #13574 from backstage/rugvip/testroot

cli: add repo test command and start running tests from the root
This commit is contained in:
Patrik Oldsberg
2022-09-20 18:49:18 +02:00
committed by GitHub
13 changed files with 372 additions and 192 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Added a new `repo test` command.
+14
View File
@@ -0,0 +1,14 @@
---
'@backstage/create-app': patch
---
Updated the root `test` scripts to use `backstage-cli repo test`.
To apply this change to an existing app, make the following change to the root `package.json`:
```diff
- "test": "backstage-cli test",
- "test:all": "lerna run test -- --coverage",
+ "test": "backstage-cli repo test",
+ "test:all": "backstage-cli repo test --coverage",
```