diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-01-07 06:34:52 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-06 16:34:52 -0500 |
commit | cae71ed8416cba63a2be8c9068b3a3e0b148a32a (patch) | |
tree | 1c6ed1b3dbb9fd65f02fd39d32fa627dc9d7f04b /tests/console_group_warn.ts | |
parent | 1b7938e3aa0ba1fb7ad7d6699f01cbf3c8a4196c (diff) |
Implement console.groupCollapsed (#1452)
This implementation of groupCollapsed is intentionally different
from the spec defined by whatwg. See the conversation in #1355
and #1363.
Diffstat (limited to 'tests/console_group_warn.ts')
-rw-r--r-- | tests/console_group_warn.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/console_group_warn.ts b/tests/console_group_warn.ts new file mode 100644 index 000000000..8ab871338 --- /dev/null +++ b/tests/console_group_warn.ts @@ -0,0 +1,20 @@ +console.warn("1"); +console.group(); +console.warn("2"); +console.group(); +console.warn("3"); +console.groupEnd(); +console.warn("4"); +console.groupEnd(); +console.warn("5"); + +console.groupCollapsed(); +console.warn("6"); +console.group(); +console.warn("7"); +console.groupEnd(); +console.warn("8"); +console.groupEnd(); + +console.warn("9"); +console.warn("10"); |