Skip to content

Commit ee7a2dc

Browse files
committed
test: fix test
1 parent a7c3424 commit ee7a2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/library.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,6 @@ describe('file path', function() {
332332
it('should return the correct file path', function() {
333333
expect(utils.getFilePath({ fileName: 'file.json' })).to.be.equal(path.resolve(process.cwd(), 'file.json'));
334334
expect(utils.getFilePath({})).to.be.equal(path.resolve(process.cwd(), 'package.json'));
335-
expect(utils.getFilePath({ fileName: 'c:\\test\\test.js' })).to.be.equal('c:\\test\\test.js');
335+
expect(utils.getFilePath({ fileName: path.resolve(__dirname) })).to.be.equal(path.resolve(__dirname));
336336
})
337337
})

0 commit comments

Comments
 (0)