@go-go-scope/testing 2.1.0 → 2.2.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.mts CHANGED
@@ -114,7 +114,7 @@ declare function createTestScope(options?: {
114
114
  timeout?: number;
115
115
  concurrency?: number;
116
116
  }): Promise<{
117
- scope: go_go_scope.Scope;
117
+ scope: go_go_scope.Scope<Record<string, unknown>>;
118
118
  time: TimeController;
119
119
  }>;
120
120
 
package/dist/index.mjs CHANGED
@@ -280,7 +280,8 @@ function createMockChannel() {
280
280
  if (closed || receiveIndex >= receiveValues.length) {
281
281
  return { done: true, value: void 0 };
282
282
  }
283
- return { done: false, value: receiveValues[receiveIndex++] };
283
+ const value = receiveValues[receiveIndex++];
284
+ return { done: false, value };
284
285
  },
285
286
  async return() {
286
287
  return { done: true, value: void 0 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-go-scope/testing",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Testing utilities for go-go-scope - mocks, spies, and time control",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "go-go-scope": "2.1.0"
39
+ "go-go-scope": "2.2.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@biomejs/biome": "^2.4.4",
@@ -49,6 +49,7 @@
49
49
  "build": "pkgroll --clean-dist",
50
50
  "lint": "biome check --write src/",
51
51
  "test": "echo 'No tests yet'",
52
- "clean": "rm -rf dist"
52
+ "clean": "rm -rf dist",
53
+ "typecheck": "tsc --noEmit"
53
54
  }
54
55
  }