diff options
author | Tarik Eshaq <tarikeshaq@gmail.com> | 2021-01-10 09:49:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 12:49:45 -0500 |
commit | 9801858cb0675de801b1c15d1b3826c88406068a (patch) | |
tree | ac4b085f297b949c1625acd26a7d50c52a2cae3f /cli | |
parent | f7e09c6a555e115c004feca56f8b279c5f18c9b2 (diff) |
tests(wpt/console): Enables web platform tests for console (#9013)
Diffstat (limited to 'cli')
-rw-r--r-- | cli/tests/unit/console_test.ts | 3 | ||||
-rw-r--r-- | cli/tests/wpt.jsonc | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts index 37112bea6..c6511e12e 100644 --- a/cli/tests/unit/console_test.ts +++ b/cli/tests/unit/console_test.ts @@ -313,7 +313,7 @@ unitTest(function consoleTestStringifyCircular(): void { ); assertEquals( stringify(console), - `{ + `console { log: [Function: log], debug: [Function: log], info: [Function: log], @@ -334,6 +334,7 @@ unitTest(function consoleTestStringifyCircular(): void { clear: [Function: clear], trace: [Function: trace], indentLevel: 0, + [Symbol(Symbol.toStringTag)]: "console", [Symbol(isConsoleInstance)]: true }`, ); diff --git a/cli/tests/wpt.jsonc b/cli/tests/wpt.jsonc index 2e3882fe2..29f3967ad 100644 --- a/cli/tests/wpt.jsonc +++ b/cli/tests/wpt.jsonc @@ -174,6 +174,12 @@ "structured-serialize-detail", "user_timing_exists" ], + "console": [ + "console-is-a-namespace", + "console-label-conversion", + "console-namespace-object-class-string", + "console-tests-historical", + ], "WebCryptoApi": [ "getRandomValues" ] |