Skip to content

Commit

Permalink
remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Jan 20, 2020
1 parent beb00e1 commit ea1d0d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function({ getService, getPageObjects }: PluginFunctionalProvider
const testSubjects = getService('testSubjects');

const setAppStatus = async (s: Partial<AppUpdatableFields>) => {
await browser.executeAsync(async (status: Partial<AppUpdatableFields>, cb: Function) => {
return browser.executeAsync(async (status: Partial<AppUpdatableFields>, cb: Function) => {
window.__coreAppStatus.setAppStatus(status);
cb();
}, s);
Expand Down

0 comments on commit ea1d0d4

Please sign in to comment.