@grest-ts/testkit-vitest 0.0.55 → 0.0.56

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grest-ts/testkit-vitest",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Component testing library integration for vitest",
@@ -54,21 +54,21 @@
54
54
  "node": ">=24"
55
55
  },
56
56
  "peerDependencies": {
57
- "@grest-ts/common": "0.0.55",
58
- "@grest-ts/config": "0.0.55",
59
- "@grest-ts/db-dynamodb": "0.0.55",
60
- "@grest-ts/db-mysql": "0.0.55",
61
- "@grest-ts/db-postgre": "0.0.55",
62
- "@grest-ts/discovery": "0.0.55",
63
- "@grest-ts/discovery-local": "0.0.55",
64
- "@grest-ts/http": "0.0.55",
65
- "@grest-ts/ipc": "0.0.55",
66
- "@grest-ts/locator": "0.0.55",
67
- "@grest-ts/logger": "0.0.55",
68
- "@grest-ts/logger-console": "0.0.55",
69
- "@grest-ts/metrics": "0.0.55",
70
- "@grest-ts/schema-file": "0.0.55",
71
- "@grest-ts/testkit": "0.0.55",
72
- "@grest-ts/websocket": "0.0.55"
57
+ "@grest-ts/common": "0.0.56",
58
+ "@grest-ts/config": "0.0.56",
59
+ "@grest-ts/db-dynamodb": "0.0.56",
60
+ "@grest-ts/db-mysql": "0.0.56",
61
+ "@grest-ts/db-postgre": "0.0.56",
62
+ "@grest-ts/discovery": "0.0.56",
63
+ "@grest-ts/discovery-local": "0.0.56",
64
+ "@grest-ts/http": "0.0.56",
65
+ "@grest-ts/ipc": "0.0.56",
66
+ "@grest-ts/locator": "0.0.56",
67
+ "@grest-ts/logger": "0.0.56",
68
+ "@grest-ts/logger-console": "0.0.56",
69
+ "@grest-ts/metrics": "0.0.56",
70
+ "@grest-ts/schema-file": "0.0.56",
71
+ "@grest-ts/testkit": "0.0.56",
72
+ "@grest-ts/websocket": "0.0.56"
73
73
  }
74
74
  }
@@ -8,9 +8,11 @@ import {GGLocalDiscoveryServer} from "@grest-ts/discovery-local";
8
8
  export class GGTestDiscoveryClient extends GGDiscoveryClient {
9
9
 
10
10
  public override readonly isLocal = true;
11
+ private readonly discoveryServer: GGLocalDiscoveryServer
11
12
 
12
- constructor(private readonly discoveryServer: GGLocalDiscoveryServer) {
13
+ constructor(discoveryServer: GGLocalDiscoveryServer) {
13
14
  super();
15
+ this.discoveryServer = discoveryServer
14
16
  }
15
17
 
16
18
  public registerRoutes(_registrations: GGServiceRegistration[]): void {
@@ -12,7 +12,7 @@
12
12
  const __KEY = Symbol.for("grest-ts:dedup:@grest-ts/testkit-vitest");
13
13
  const __slot = globalThis as Record<symbol, unknown>;
14
14
  const __existing = __slot[__KEY] as { path: string; version: string } | undefined;
15
- const __here = { path: import.meta.url, version: "0.0.55" };
15
+ const __here = { path: import.meta.url, version: "0.0.56" };
16
16
  // Same path + same version means the same physical package is being
17
17
  // re-evaluated by a different ESM runner (e.g. vitest projects share one
18
18
  // process but each project has its own module cache). That isn't a true