Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Change Node.js unit test require. #1264

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@private header(apiTest)
var assert = require('assert');
@if apiTest.fileHeader.hasVersion
var {@apiTest.apiWrapperModuleName} = require('../src/').{@apiTest.fileHeader.version}();
var {@apiTest.apiWrapperModuleName} = require('../src/{@apiTest.fileHeader.version}')();
@else
var {@apiTest.apiWrapperModuleName} = require('../src/')();
@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

var assert = require('assert');
var libraryV1 = require('../src/').v1();
var libraryV1 = require('../src/v1')();
var through2 = require('through2');

var FAKE_STATUS_CODE = 1;
Expand Down