Albion
Albion5d ago

Testing fails for temporal in deno environment

import { TestWorkflowEnvironment } from "@temporalio/testing";

beforeEach(async () => {
testEnv = await TestWorkflowEnvironment.createTimeSkipping();
});
afterEach(async () => {
restore();
await testEnv?.teardown();
});

it.only('say hi', () => {
console.log('hello')
})
import { TestWorkflowEnvironment } from "@temporalio/testing";

beforeEach(async () => {
testEnv = await TestWorkflowEnvironment.createTimeSkipping();
});
afterEach(async () => {
restore();
await testEnv?.teardown();
});

it.only('say hi', () => {
console.log('hello')
})
I have this test for temporal, it currently fails with this message:
say hi => https://jsr.io/@std/testing/1.0.16/_test_suite.ts:171:39
error: Error: Failed to connect before the deadline
say hi => https://jsr.io/@std/testing/1.0.16/_test_suite.ts:171:39
error: Error: Failed to connect before the deadline
Is there perhaps any solution for this or workaround? Thanks
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?