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

Commit 50ddcb9

Browse files
committed
damn hurry
1 parent bd6b8fb commit 50ddcb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/views/directory-select.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('DirectorySelect', function() {
5858
});
5959

6060
it('leaves the destination path buffer unmodified on cancel', async function() {
61-
const showOpenDialog = sinon.stub().returns(Promise.resolve({filePaths: undefined}));
61+
const showOpenDialog = sinon.stub().returns(Promise.resolve({filePaths: []}));
6262
const buffer = new TextBuffer({text: '/original'});
6363

6464
const wrapper = shallow(buildApp({showOpenDialog, buffer}));

0 commit comments

Comments
 (0)