Skip to content

Commit

Permalink
Remove withCodSpeed plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed May 7, 2024
1 parent 59b337d commit ea5d470
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/nodes-base/benchmark.env.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const NodeEnvironment = require('jest-environment-node').TestEnvironment;
const { Bench } = require('tinybench');
const { withCodSpeed } = require('@codspeed/tinybench-plugin');

class BenchmarkEnvironment extends NodeEnvironment {
constructor(config, context) {
Expand All @@ -25,7 +24,7 @@ class BenchmarkEnvironment extends NodeEnvironment {
}

setupBenchmark() {
this.bench = withCodSpeed(new Bench());
this.bench = new Bench();
}

async benchmark() {
Expand Down

0 comments on commit ea5d470

Please sign in to comment.