@backstage/backend-test-utils 0.4.0-next.3 → 0.4.0

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/dist/index.d.ts CHANGED
@@ -4,9 +4,10 @@ import Keyv from 'keyv';
4
4
  import { Knex } from 'knex';
5
5
  import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
6
6
  import { ServiceFactory, ServiceRef, ExtensionPoint, BackendFeature, RootConfigService, LoggerService, TokenManagerService, IdentityService, AuthService, DiscoveryService, BackstageCredentials, HttpAuthService, BackstageUserInfo, UserInfoService, BackstageNonePrincipal, BackstageUserPrincipal, BackstagePrincipalAccessRestrictions, BackstageServicePrincipal } from '@backstage/backend-plugin-api';
7
- import * as _backstage_backend_app_api from '@backstage/backend-app-api';
8
7
  import { Backend, ExtendedHttpServer } from '@backstage/backend-app-api';
9
8
  import * as _backstage_plugin_events_node from '@backstage/plugin-events-node';
9
+ import * as _backstage_backend_defaults_rootHttpRouter from '@backstage/backend-defaults/rootHttpRouter';
10
+ import * as _backstage_backend_defaults_httpRouter from '@backstage/backend-defaults/httpRouter';
10
11
  import { JsonObject } from '@backstage/types';
11
12
 
12
13
  /**
@@ -501,11 +502,11 @@ declare namespace mockServices {
501
502
  const mock: (partialImpl?: Partial<_backstage_backend_plugin_api.DatabaseService> | undefined) => ServiceMock<_backstage_backend_plugin_api.DatabaseService>;
502
503
  }
503
504
  namespace httpRouter {
504
- const factory: (options?: _backstage_backend_app_api.HttpRouterFactoryOptions | undefined) => ServiceFactory<_backstage_backend_plugin_api.HttpRouterService, "plugin">;
505
+ const factory: (options?: _backstage_backend_defaults_httpRouter.HttpRouterFactoryOptions | undefined) => ServiceFactory<_backstage_backend_plugin_api.HttpRouterService, "plugin">;
505
506
  const mock: (partialImpl?: Partial<_backstage_backend_plugin_api.HttpRouterService> | undefined) => ServiceMock<_backstage_backend_plugin_api.HttpRouterService>;
506
507
  }
507
508
  namespace rootHttpRouter {
508
- const factory: (options?: _backstage_backend_app_api.RootHttpRouterFactoryOptions | undefined) => ServiceFactory<_backstage_backend_plugin_api.RootHttpRouterService, "root">;
509
+ const factory: (options?: _backstage_backend_defaults_rootHttpRouter.RootHttpRouterFactoryOptions | undefined) => ServiceFactory<_backstage_backend_plugin_api.RootHttpRouterService, "root">;
509
510
  const mock: (partialImpl?: Partial<_backstage_backend_plugin_api.RootHttpRouterService> | undefined) => ServiceMock<_backstage_backend_plugin_api.RootHttpRouterService>;
510
511
  }
511
512
  namespace lifecycle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/backend-test-utils",
3
- "version": "0.4.0-next.3",
3
+ "version": "0.4.0",
4
4
  "description": "Test helpers library for Backstage backends",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -42,12 +42,13 @@
42
42
  "test": "backstage-cli package test"
43
43
  },
44
44
  "dependencies": {
45
- "@backstage/backend-app-api": "^0.7.6-next.3",
46
- "@backstage/backend-plugin-api": "^0.6.19-next.3",
45
+ "@backstage/backend-app-api": "^0.7.6",
46
+ "@backstage/backend-defaults": "^0.3.0",
47
+ "@backstage/backend-plugin-api": "^0.6.19",
47
48
  "@backstage/config": "^1.2.0",
48
49
  "@backstage/errors": "^1.2.4",
49
- "@backstage/plugin-auth-node": "^0.4.14-next.3",
50
- "@backstage/plugin-events-node": "^0.3.5-next.2",
50
+ "@backstage/plugin-auth-node": "^0.4.14",
51
+ "@backstage/plugin-events-node": "^0.3.5",
51
52
  "@backstage/types": "^1.1.1",
52
53
  "@keyv/memcache": "^1.3.5",
53
54
  "@keyv/redis": "^2.5.3",
@@ -68,7 +69,7 @@
68
69
  "yn": "^4.0.0"
69
70
  },
70
71
  "devDependencies": {
71
- "@backstage/cli": "^0.26.7-next.3",
72
+ "@backstage/cli": "^0.26.7",
72
73
  "@types/supertest": "^2.0.8",
73
74
  "supertest": "^6.1.3"
74
75
  },