Skip to content

Commit 8c320f1

Browse files
add test for GH 1787
1 parent a720a26 commit 8c320f1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/test/src/test-ephemeral-server.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,14 @@ test("TestEnvironment doesn't hang on fail to download", async (t) => {
147147
t.pass();
148148
}
149149
});
150+
151+
test('TestEnvironment.createLocal correctly populates address', async (t) => {
152+
const testEnv = await RealTestWorkflowEnvironment.createLocal();
153+
t.teardown(() => testEnv.teardown());
154+
await t.notThrowsAsync(async () => {
155+
await Connection.connect({
156+
address: testEnv.address,
157+
connectTimeout: 500,
158+
});
159+
}, 'should be able to connect to test server');
160+
});

0 commit comments

Comments
 (0)