Skip to content

Commit f63ce31

Browse files
committed
test: add missing await to atom.commands.dispatch
1 parent dce1077 commit f63ce31

File tree

5 files changed

+452
-452
lines changed

5 files changed

+452
-452
lines changed

spec/find-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('Find', () => {
1111
atom.workspace.addOpener(DeferredEditorItem.opener)
1212

1313
const activationPromise = atom.packages.activatePackage('find-and-replace')
14-
atom.commands.dispatch(atom.views.getView(atom.workspace), 'find-and-replace:show')
14+
await atom.commands.dispatch(atom.views.getView(atom.workspace), 'find-and-replace:show')
1515
await activationPromise
1616

1717
spyOn(BufferSearch.prototype, 'setEditor')

0 commit comments

Comments
 (0)