@workflow/world-testing 4.1.0-beta.60 → 4.1.0-beta.62

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.
@@ -2,7 +2,7 @@ import { expect, test, vi } from 'vitest';
2
2
  import { hydrateWorkflowReturnValue } from '@workflow/core/serialization';
3
3
  import { createFetcher, startServer } from './util.mjs';
4
4
  export function addition(world) {
5
- test('runs an addition', { timeout: 12_000 }, async () => {
5
+ test('runs an addition', { timeout: 30_000 }, async () => {
6
6
  const server = await startServer({ world }).then(createFetcher);
7
7
  const result = await server.invoke('workflows/addition.ts', 'addition', [1, 2]);
8
8
  expect(result.runId).toMatch(/^wrun_.+/);
@@ -13,7 +13,7 @@ export function addition(world) {
13
13
  return run;
14
14
  }, {
15
15
  interval: 200,
16
- timeout: 10_000,
16
+ timeout: 25_000,
17
17
  });
18
18
  const output = await hydrateWorkflowReturnValue(run.output, run.runId, undefined);
19
19
  expect(output).toEqual(3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow/world-testing",
3
- "version": "4.1.0-beta.60",
3
+ "version": "4.1.0-beta.62",
4
4
  "description": "Testing utilities and World implementation for Workflow DevKit",
5
5
  "main": "dist/src/index.mjs",
6
6
  "files": [
@@ -21,10 +21,10 @@
21
21
  "hono": "4.9.10",
22
22
  "jsonlines": "0.1.1",
23
23
  "zod": "4.1.11",
24
- "@workflow/cli": "4.1.0-beta.59",
25
- "@workflow/core": "4.1.0-beta.59",
26
- "workflow": "4.1.0-beta.59",
27
- "@workflow/world": "4.1.0-beta.6"
24
+ "@workflow/cli": "4.1.0-beta.61",
25
+ "@workflow/core": "4.1.0-beta.61",
26
+ "workflow": "4.1.0-beta.61",
27
+ "@workflow/world": "4.1.0-beta.7"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "22.19.0",