Merge branch 'master' into rugvip/test-port

This commit is contained in:
Patrik Oldsberg
2021-11-22 17:33:10 +01:00
committed by GitHub
606 changed files with 10288 additions and 2245 deletions
+10
View File
@@ -1,5 +1,15 @@
# @backstage/test-utils
## 0.1.22
### Patch Changes
- 0b1de52732: Migrated to using new `ErrorApiError` and `ErrorApiErrorContext` names.
- 2dd2a7b2cc: Migrated to using `createSpecializedApp`.
- Updated dependencies
- @backstage/core-plugin-api@0.2.0
- @backstage/core-app-api@0.1.21
## 0.1.21
### Patch Changes
+4 -4
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/test-utils",
"description": "Utilities to test Backstage plugins and apps.",
"version": "0.1.21",
"version": "0.1.22",
"private": false,
"publishConfig": {
"access": "public",
@@ -29,8 +29,8 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/core-app-api": "^0.1.20",
"@backstage/core-plugin-api": "^0.1.13",
"@backstage/core-app-api": "^0.1.21",
"@backstage/core-plugin-api": "^0.2.0",
"@backstage/theme": "^0.2.13",
"@backstage/types": "^0.1.1",
"@material-ui/core": "^4.12.2",
@@ -46,7 +46,7 @@
"zen-observable": "^0.8.15"
},
"devDependencies": {
"@backstage/cli": "^0.8.2",
"@backstage/cli": "^0.9.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32"
},
@@ -16,9 +16,8 @@
import React from 'react';
import { createApiRef, useApiHolder } from '@backstage/core-plugin-api';
import { TestApiProvider } from './TestApiProvider';
import { TestApiProvider, TestApiRegistry } from './TestApiProvider';
import { render, screen } from '@testing-library/react';
import { TestApiRegistry } from '.';
const xApiRef = createApiRef<{ a: string; b: number }>({
id: 'x',