fix test case failing with react error and update api reports
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -77,7 +77,10 @@ describe('<ErrorBoundary/>', () => {
|
||||
/^The above error occurred in the <Bomb> component:/,
|
||||
),
|
||||
expect.stringMatching(/^ErrorBoundary/),
|
||||
expect.stringMatching(/Warning: findDOMNode/), // React warning, unfortunate but currently true
|
||||
// React 18.3.0 added error messages for findDOMNode deprecation, https://github.com/facebook/react/commit/c3b283964108b0e8dbcf1f9eb2e7e67815e39dfb.
|
||||
expect.stringContaining(
|
||||
'Warning: findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node%s',
|
||||
),
|
||||
]);
|
||||
expect(error.length).toEqual(5);
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@ Options:
|
||||
Commands:
|
||||
api-reports [options] [paths...]
|
||||
type-deps
|
||||
peer-deps [options]
|
||||
generate-catalog-info [options]
|
||||
knip-reports [options] [paths...]
|
||||
package [command]
|
||||
@@ -156,6 +157,16 @@ Options:
|
||||
-h, --help
|
||||
```
|
||||
|
||||
### `backstage-repo-tools peer-deps`
|
||||
|
||||
```
|
||||
Usage: backstage-repo-tools peer-deps [options]
|
||||
|
||||
Options:
|
||||
--fix
|
||||
-h, --help
|
||||
```
|
||||
|
||||
### `backstage-repo-tools repo`
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user