Skip to content

Commit

Permalink
Restored shimmer.reinstrument test by fixing path to benchmark test (…
Browse files Browse the repository at this point in the history
…relative to shimmer)

Signed-off-by: mrickard <maurice@mauricerickard.com>
  • Loading branch information
mrickard committed Dec 2, 2022
1 parent 5c93ab6 commit 7ceb897
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions test/benchmark/shimmer/instrumentation.bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@ suite.add({
}
})

// This causes the cjs loader to fail, with benchmark not being found.
// suite.add({
// name: 'shimmer.reinstrument()',
// agent: true,
// fn: function (agent) {
// return shimmer.reinstrument(agent, 'benchmark')
// }
// })
suite.add({
name: 'shimmer.reinstrument()',
agent: true,
fn: function (agent) {
return shimmer.reinstrument(agent, '../test/lib/benchmark')
}
})

suite.run()

0 comments on commit 7ceb897

Please sign in to comment.