Skip to content

Commit

Permalink
Replaces '+' with path.join()
Browse files Browse the repository at this point in the history
  • Loading branch information
sul4bh committed Apr 21, 2017
1 parent bb799c2 commit f704aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/reporters.spec.js
Expand Up @@ -76,7 +76,7 @@ describe('reporters', function () {

it('loads a reporter from an absolute path', function (done) {
// Generates an absolute path string
var reporterAtAnAbsolutePath = process.cwd() + '/test/integration/fixtures/simple-reporter.js';
var reporterAtAnAbsolutePath = path.join(process.cwd(), 'test/integration/fixtures/simple-reporter.js');

var args = ['--reporter=' + reporterAtAnAbsolutePath];

Expand Down

0 comments on commit f704aa3

Please sign in to comment.