Skip to content

Commit b189067

Browse files
committed
Update require and proxyquire paths
1 parent 5dfa032 commit b189067

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

lib/node_modules/@stdlib/bench/harness/test/test.bench.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ tape( 'all `onFinish` listeners are invoked once a harness finishes running all
392392
var harness;
393393
var bench;
394394

395-
bench = proxyquire( './../lib/bench.js', {
395+
bench = proxyquire( './../lib/main.js', {
396396
'./get_harness.js': getHarness
397397
});
398398
bench.onFinish( foo );
@@ -429,7 +429,7 @@ tape( 'the function runs benchmarks (sync)', function test( t ) {
429429
var bench;
430430
var opts;
431431

432-
bench = proxyquire( './../lib/bench.js', {
432+
bench = proxyquire( './../lib/main.js', {
433433
'./get_harness.js': getHarness
434434
});
435435
bench.onFinish( onFinish );
@@ -484,7 +484,7 @@ tape( 'the function runs benchmarks (async)', function test( t ) {
484484
var bench;
485485
var opts;
486486

487-
bench = proxyquire( './../lib/bench.js', {
487+
bench = proxyquire( './../lib/main.js', {
488488
'./get_harness.js': getHarness
489489
});
490490
bench.onFinish( onFinish );
@@ -558,7 +558,7 @@ tape( 'the function runs benchmarks (sync and async)', function test( t ) {
558558
var sopts;
559559
var aopts;
560560

561-
bench = proxyquire( './../lib/bench.js', {
561+
bench = proxyquire( './../lib/main.js', {
562562
'./get_harness.js': getHarness
563563
});
564564
bench.onFinish( onFinish );
@@ -628,7 +628,7 @@ tape( 'if the `iterations` option is `null`, the function supports automatically
628628
var bench;
629629
var opts;
630630

631-
bench = proxyquire( './../lib/bench.js', {
631+
bench = proxyquire( './../lib/main.js', {
632632
'./get_harness.js': getHarness
633633
});
634634
bench.onFinish( onFinish );
@@ -711,7 +711,7 @@ tape( 'by default, the `iterations` option is `null` and the number of repeats i
711711
var bench;
712712
var str;
713713

714-
bench = proxyquire( './../lib/bench.js', {
714+
bench = proxyquire( './../lib/main.js', {
715715
'./get_harness.js': getHarness
716716
});
717717
bench.onFinish( onFinish );
@@ -808,7 +808,7 @@ tape( 'if the `skip` option is `true`, the function skips a benchmark', function
808808
''
809809
];
810810

811-
bench = proxyquire( './../lib/bench.js', {
811+
bench = proxyquire( './../lib/main.js', {
812812
'./get_harness.js': getHarness
813813
});
814814
bench.onFinish( onFinish );
@@ -903,7 +903,7 @@ tape( 'if not provided a benchmark function, the function treats the benchmark a
903903
''
904904
];
905905

906-
bench = proxyquire( './../lib/bench.js', {
906+
bench = proxyquire( './../lib/main.js', {
907907
'./get_harness.js': getHarness
908908
});
909909
bench.onFinish( onFinish );
@@ -974,7 +974,7 @@ tape( 'if `createStream` is called before providing adding one or more benchmark
974974

975975
getHarness.cached = false;
976976

977-
bench = proxyquire( './../lib/bench.js', {
977+
bench = proxyquire( './../lib/main.js', {
978978
'./get_harness.js': getHarness
979979
});
980980
stream = bench.createStream({

lib/node_modules/@stdlib/buffer/ctor/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tape( 'if an environment supports `Buffer`, the export is an alias for `Buffer`'
4040

4141
Foo = proxyquire( './../lib', {
4242
'@stdlib/assert/has-node-buffer-support': isTrue,
43-
'./buffer.js': Mock
43+
'./main.js': Mock
4444
});
4545
t.strictEqual( Foo, Mock, 'returns builtin' );
4646

lib/node_modules/@stdlib/process/node-version/test/test.version.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var tape = require( 'tape' );
2424
var proxyquire = require( 'proxyquire' );
25-
var VERSION = require( './../lib/version.js' );
25+
var VERSION = require( './../lib/main.js' );
2626

2727

2828
// TESTS //
@@ -34,7 +34,7 @@ tape( 'main export is a string', function test( t ) {
3434
});
3535

3636
tape( 'main export equals `process.versions.node`', function test( t ) {
37-
var VERSION = proxyquire( './../lib/version.js', {
37+
var VERSION = proxyquire( './../lib/main.js', {
3838
'./process.js': {
3939
'versions': {
4040
'node': '3.1.4'

0 commit comments

Comments
 (0)