Skip to content

Commit 5e9d303

Browse files
committed
Fixed warnings in Jasmine's own tests
1 parent a8a5606 commit 5e9d303

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/jasmine_spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ describe('Jasmine', function() {
8787

8888
function hasCommonFileGlobBehavior(method, destProp) {
8989
it('adds a file with an absolute path', function() {
90-
const aFile = path.join(this.testJasmine.projectBaseDir, this.testJasmine.specDir, 'spec/command_spec.js');
90+
const aFile = path.join(this.testJasmine.projectBaseDir, this.testJasmine.specDir, 'spec/command_spec.js')
91+
.replace(/\\/g, '/');
9192
expect(this.testJasmine[destProp]).toEqual([]);
9293
this.testJasmine[method]([aFile]);
9394
expect(this.testJasmine[destProp]).toEqual([slash(aFile)]);

0 commit comments

Comments
 (0)