Skip to content

Commit 422bd95

Browse files
committed
Simplify futures test
1 parent 92f6f35 commit 422bd95

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

fixtures/futures/tests/bindings/test_futures.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,7 @@ function checkRemainingFutures(t: Asserts) {
125125

126126
await asyncTest("Async methods", async (t) => {
127127
const megaphone = newMegaphone();
128-
let helloAlice = await t.asyncMeasure(
129-
async () => megaphone.sayAfter(500, "Alice"),
130-
500,
131-
20,
132-
);
128+
const helloAlice = await megaphone.sayAfter(500, "Alice");
133129
t.assertEqual("HELLO, ALICE!", helloAlice);
134130
checkRemainingFutures(t);
135131
t.end();

0 commit comments

Comments
 (0)