We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a98ad7 commit 9f858ceCopy full SHA for 9f858ce
packages/encoding/src/base64.spec.ts
@@ -79,9 +79,7 @@ describe("base64", () => {
79
// "aa==", // non-strict, should be aQ==
80
];
81
for (const input of invalid) {
82
- expect(() => fromBase64(input))
83
- .withContext(`invalid input: '${input}'`)
84
- .toThrow();
+ expect(() => fromBase64(input), `invalid input: '${input}'`).toThrow();
85
}
86
});
87
0 commit comments