Skip to content

Commit

Permalink
Fixed warnings in Jasmine's own tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Oct 29, 2022
1 parent a8a5606 commit 5e9d303
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/jasmine_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ describe('Jasmine', function() {

function hasCommonFileGlobBehavior(method, destProp) {
it('adds a file with an absolute path', function() {
const aFile = path.join(this.testJasmine.projectBaseDir, this.testJasmine.specDir, 'spec/command_spec.js');
const aFile = path.join(this.testJasmine.projectBaseDir, this.testJasmine.specDir, 'spec/command_spec.js')
.replace(/\\/g, '/');
expect(this.testJasmine[destProp]).toEqual([]);
this.testJasmine[method]([aFile]);
expect(this.testJasmine[destProp]).toEqual([slash(aFile)]);
Expand Down

0 comments on commit 5e9d303

Please sign in to comment.