From c63a36bcb013a5b205c81bd0004298eaa4d820fa Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Sun, 24 May 2026 22:12:43 +0200 Subject: [PATCH] test: deflake test-webcrypto-crypto-job-mode Signed-off-by: Filip Skokan --- test/parallel/test-webcrypto-crypto-job-mode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-webcrypto-crypto-job-mode.js b/test/parallel/test-webcrypto-crypto-job-mode.js index 7fd50de44f39b6..327c6a6f154cc4 100644 --- a/test/parallel/test-webcrypto-crypto-job-mode.js +++ b/test/parallel/test-webcrypto-crypto-job-mode.js @@ -163,7 +163,7 @@ async function withObjectPrototypeSetters(names, fn) { { name: 'AES-CBC', iv }, key, Buffer.alloc(16))); - ciphertext[ciphertext.length - 1] ^= 0xff; + ciphertext[0] ^= 0xff; await assert.rejects( subtle.decrypt({ name: 'AES-CBC', iv }, key, ciphertext),