AlbionA
Denoβ€’2mo ago
Albion

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')
    })


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


Is there perhaps any solution for this or workaround? Thanks
Was this page helpful?