Skip to content

Commit

Permalink
Revert "Add missing awaits."
Browse files Browse the repository at this point in the history
This reverts commit d5a8979.
  • Loading branch information
SamTV12345 committed Sep 15, 2023
1 parent e3a3962 commit 4145a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/frontend/specs/adminsettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('Admin > Settings', function () {

// new value for settings.json should now be saved
// reset it to the old value
await helper.newAdmin('settings');
helper.newAdmin('settings');
await helper.waitForPromise(
() => helper.admin$ &&
helper.admin$('.settings').val().length === settingsLength + 11, 20000);
Expand All @@ -54,7 +54,7 @@ describe('Admin > Settings', function () {
await save();

// settings should have the old value
await helper.newAdmin('settings');
helper.newAdmin('settings');
await helper.waitForPromise(
() => helper.admin$ && helper.admin$('.settings').val().length === settingsLength &&
settings === helper.admin$('.settings').val(), 20000);
Expand Down

0 comments on commit 4145a11

Please sign in to comment.