mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix(ext/node): add back perf_hooks.markResourceTiming (#29562)
Adding back a sham for "perf_hooks.markResourceTiming" that was removed by accident in https://github.com/denoland/deno/pull/29323; a test was added too, to ensure it doesn't regress in the future. Closes https://github.com/denoland/deno/issues/29539
This commit is contained in:
parent
fb723098a5
commit
02404333f1
2 changed files with 5 additions and 1 deletions
|
@ -86,3 +86,7 @@ Deno.test("[perf_hooks]: monitorEventLoopDelay", async () => {
|
|||
|
||||
e.disable();
|
||||
});
|
||||
|
||||
Deno.test("[perf_hooks]: markResourceTiming", () => {
|
||||
assert(typeof performance.markResourceTiming === "function");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue