Skip to content

Commit 9f858ce

Browse files
committed
encoding: replace jasmine expect().withContext()
1 parent 3a98ad7 commit 9f858ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/encoding/src/base64.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ describe("base64", () => {
7979
// "aa==", // non-strict, should be aQ==
8080
];
8181
for (const input of invalid) {
82-
expect(() => fromBase64(input))
83-
.withContext(`invalid input: '${input}'`)
84-
.toThrow();
82+
expect(() => fromBase64(input), `invalid input: '${input}'`).toThrow();
8583
}
8684
});
8785

0 commit comments

Comments
 (0)