Skip to content

Commit b503e0b

Browse files
committed
call correct name of function
1 parent 9385346 commit b503e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__test__/online.spec.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ test("traffic_policy", async (t) => {
549549
const traffic_policy = fs.readFileSync(path.resolve("__test__", "policy.json"), "utf8");
550550

551551
const [httpServer, session] = await makeHttpAndSession();
552-
const listener = await session.httpEndpoint().traffic_policy(traffic_policy).listen();
552+
const listener = await session.httpEndpoint().trafficPolicy(traffic_policy).listen();
553553
const response = await forwardValidateShutdown(t, httpServer, listener, listener.url());
554554
t.is("bar", response.headers["foo"]);
555555
});

0 commit comments

Comments
 (0)