Commit 23c454e
committed
test(benchmark.js): use real root-frame helpers in core mock
The integ test deep-mocks @codspeed/core, so wrapWithRootFrame and
wrapWithRootFrameSync returned non-callable mocks once the plugin began
wrapping benchmarks through them. Bind both to the actual implementations,
matching getGitDir/getCallingFile.1 parent 94674d4 commit 23c454e
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments