From 769953af0a4b60aea9f641a8240c2eea6688cc07 Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Tue, 13 Aug 2024 11:42:50 -0700 Subject: [PATCH] correct logic for usingV2 check --- e2e/node/basic/watermark.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/node/basic/watermark.test.ts b/e2e/node/basic/watermark.test.ts index 7d005fa5..c34420c0 100644 --- a/e2e/node/basic/watermark.test.ts +++ b/e2e/node/basic/watermark.test.ts @@ -124,7 +124,7 @@ test('replay attack', async () => { fetchProxy.history.map(response => { return [response.url]; }), - ) === -1; + ) !== -1; if (usingV2) { // TODO - pin to 5 once dfx v0.23.0 is released // the replayed request should throw an error