Skip to content

Commit

Permalink
improve anonymous method name with file and line info
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 30, 2021
1 parent a56ea60 commit 9ee8f61
Show file tree
Hide file tree
Showing 9 changed files with 744 additions and 730 deletions.
572 changes: 286 additions & 286 deletions src/import/__snapshots__/chrome.test.ts.snap

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/import/__snapshots__/safari.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Object {
"file": "__InjectedScript_CommandLineAPIModuleSource.js",
"key": ":__InjectedScript_CommandLineAPIModuleSource.js:2:10",
"line": 2,
"name": "(anonymous)",
"name": "(anonymous __InjectedScript_CommandLineAPIModuleSource.js:2)",
"selfWeight": 0.001,
"totalWeight": 0.001,
},
Expand Down Expand Up @@ -78,7 +78,7 @@ Object {
],
"name": "Grabación de Control temporal 1",
"stacks": Array [
"injectModule;(anonymous) 1.00ms",
"injectModule;(anonymous __InjectedScript_CommandLineAPIModuleSource.js:2) 1.00ms",
" 39.93ms",
"(program);alpha;delta;gamma 10.83ms",
" 2.46ms",
Expand Down
Loading

0 comments on commit 9ee8f61

Please sign in to comment.