Skip to content

Commit 52bc462

Browse files
committed
Change karma benchmark process call.
- Using 'process' is difficult due to how webpack and browserify handle it. - This doesn't seem to be needed now for at least basic functionality.
1 parent 02c83e3 commit 52bc462

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test-karma.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ const join = require('join-path-js');
5454

5555
// special benchmark setup
5656
const _ = require('lodash');
57-
const _process = require('process');
57+
//const _process = require('process');
5858
const benchmark = require('benchmark');
59-
const Benchmark = benchmark.runInContext({_, _process});
59+
//const Benchmark = benchmark.runInContext({_, _process});
60+
const Benchmark = benchmark.runInContext({_});
6061
window.Benchmark = Benchmark;
6162

6263
const entries = [];

0 commit comments

Comments
 (0)