@backstage/backend-test-utils 0.3.4-next.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @backstage/backend-test-utils
|
|
2
2
|
|
|
3
|
+
## 0.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4a3d434: Added support for the new [`auth`](https://backstage.io/docs/backend-system/core-services/auth/) and [`httpAuth`](https://backstage.io/docs/backend-system/core-services/http-auth) services that were created as part of [BEP-0003](https://github.com/backstage/backstage/tree/master/beps/0003-auth-architecture-evolution). These services will be present by default in test apps, and you can access mocked versions of their features under `mockServices.auth` and `mockServices.httpAuth` if you want to inspect or replace their behaviors.
|
|
8
|
+
|
|
9
|
+
There is also a new `mockCredentials` that you can use for acquiring mocks of the various types of credentials that are used in the new system.
|
|
10
|
+
|
|
11
|
+
- 9802004: Added `mockServices.userInfo`, which now also automatically is made available in test backends.
|
|
12
|
+
- fd61d39: Updated dependency `testcontainers` to `^10.0.0`.
|
|
13
|
+
- ff40ada: Updated dependency `mysql2` to `^3.0.0`.
|
|
14
|
+
- 0fb419b: Updated dependency `uuid` to `^9.0.0`.
|
|
15
|
+
Updated dependency `@types/uuid` to `^9.0.0`.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @backstage/backend-common@0.21.4
|
|
18
|
+
- @backstage/plugin-auth-node@0.4.9
|
|
19
|
+
- @backstage/config@1.2.0
|
|
20
|
+
- @backstage/errors@1.2.4
|
|
21
|
+
- @backstage/backend-plugin-api@0.6.14
|
|
22
|
+
- @backstage/backend-app-api@0.6.0
|
|
23
|
+
- @backstage/types@1.1.1
|
|
24
|
+
|
|
3
25
|
## 0.3.4-next.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/backend-test-utils",
|
|
3
|
-
"version": "0.3.4
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Test helpers library for Backstage backends",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "node-library"
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"test": "backstage-cli package test"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@backstage/backend-app-api": "^0.6.0
|
|
46
|
-
"@backstage/backend-common": "^0.21.4
|
|
47
|
-
"@backstage/backend-plugin-api": "^0.6.14
|
|
48
|
-
"@backstage/config": "^1.2.0
|
|
49
|
-
"@backstage/errors": "^1.2.4
|
|
50
|
-
"@backstage/plugin-auth-node": "^0.4.9
|
|
45
|
+
"@backstage/backend-app-api": "^0.6.0",
|
|
46
|
+
"@backstage/backend-common": "^0.21.4",
|
|
47
|
+
"@backstage/backend-plugin-api": "^0.6.14",
|
|
48
|
+
"@backstage/config": "^1.2.0",
|
|
49
|
+
"@backstage/errors": "^1.2.4",
|
|
50
|
+
"@backstage/plugin-auth-node": "^0.4.9",
|
|
51
51
|
"@backstage/types": "^1.1.1",
|
|
52
52
|
"better-sqlite3": "^9.0.0",
|
|
53
53
|
"cookie": "^0.6.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"uuid": "^9.0.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@backstage/cli": "^0.
|
|
65
|
+
"@backstage/cli": "^0.26.0",
|
|
66
66
|
"@types/supertest": "^2.0.8",
|
|
67
67
|
"supertest": "^6.1.3"
|
|
68
68
|
},
|