mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
fix(inspector): ensure console methods provided by inspector are available (#16724)
This commit is contained in:
parent
5c7dc904fb
commit
1ec357faf3
5 changed files with 34 additions and 1 deletions
|
@ -336,6 +336,9 @@ Deno.test(function consoleTestStringifyCircular() {
|
|||
groupEnd: [Function: groupEnd],
|
||||
clear: [Function: clear],
|
||||
trace: [Function: trace],
|
||||
profile: [Function: profile],
|
||||
profileEnd: [Function: profileEnd],
|
||||
timeStamp: [Function: timeStamp],
|
||||
indentLevel: 0,
|
||||
[Symbol(isConsoleInstance)]: true
|
||||
}`,
|
||||
|
@ -2103,3 +2106,9 @@ Deno.test(async function inspectAggregateError() {
|
|||
);
|
||||
}
|
||||
});
|
||||
|
||||
Deno.test(function inspectorMethods() {
|
||||
console.timeStamp("test");
|
||||
console.profile("test");
|
||||
console.profileEnd("test");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue