summaryrefslogtreecommitdiff
path: root/cli/tests/unit/text_encoding_test.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-02-16 09:10:59 +0800
committerGitHub <noreply@github.com>2021-02-16 02:10:59 +0100
commit3f5265b21ec578e543d09cdc9d8b19d9655aebd9 (patch)
treea47bbe4ff1245cd1dcc8dae70d2e5095758b4574 /cli/tests/unit/text_encoding_test.ts
parent7e9028b53227ce67f56df79f623b2f12fda756b5 (diff)
fix: align btoa to spec (#9053)
Diffstat (limited to 'cli/tests/unit/text_encoding_test.ts')
-rw-r--r--cli/tests/unit/text_encoding_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts
index 58905157a..c7c07f937 100644
--- a/cli/tests/unit/text_encoding_test.ts
+++ b/cli/tests/unit/text_encoding_test.ts
@@ -69,7 +69,7 @@ unitTest(function btoaFailed(): void {
const text = "你好";
assertThrows(() => {
btoa(text);
- }, TypeError);
+ }, DOMException);
});
unitTest(function textDecoder2(): void {