Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 80f8b89

Browse files
fix incorrect assert
1 parent 70f8028 commit 80f8b89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/views/git-tab-view.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,6 @@ describe('GitTabView', function() {
287287
const changeWorkingDirectory = sinon.spy();
288288
const wrapper = shallow(await buildApp({changeWorkingDirectory}));
289289
wrapper.find('TabHeaderView').prop('handleProjectSelect')({target: {value: 'some-path'}});
290-
assert.strictEqual(changeWorkingDirectory.calledWith('some-path'));
290+
assert.isTrue(changeWorkingDirectory.calledWith('some-path'));
291291
});
292292
});

test/views/github-tab-view.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ describe('GitHubTabView', function() {
6868
const changeWorkingDirectory = sinon.spy();
6969
const wrapper = shallow(await buildApp({changeWorkingDirectory}));
7070
wrapper.find('TabHeaderView').prop('handleProjectSelect')({target: {value: 'some-path'}});
71-
assert.strictEqual(changeWorkingDirectory.calledWith('some-path'));
71+
assert.isTrue(changeWorkingDirectory.calledWith('some-path'));
7272
});
7373
});

0 commit comments

Comments
 (0)