Skip to content

Commit

Permalink
test: deflake different payload produce test
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Dec 16, 2020
1 parent 7d2fd14 commit 47d7001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jws/general.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Promise.all([
);

await t.throwsAsync(sig.sign(), {
message: 'index 1 signature produced a different payload',
message: /index \d signature produced a different payload/,
code: 'ERR_JWS_INVALID',
});
});
Expand Down

0 comments on commit 47d7001

Please sign in to comment.