diff --git a/services/fxaccounts/tests/xpcshell/test_commands_closetab.js b/services/fxaccounts/tests/xpcshell/test_commands_closetab.js index cf34b76cd6cb..5e018b69e056 100644 --- a/services/fxaccounts/tests/xpcshell/test_commands_closetab.js +++ b/services/fxaccounts/tests/xpcshell/test_commands_closetab.js @@ -92,8 +92,8 @@ add_task(async function test_closetab_isDeviceCompatible() { // Feature successfully disabled Assert.ok(!closeTab.isDeviceCompatible(device)); - doExperimentCleanup(); - cleanup(); + await doExperimentCleanup(); + await cleanup(); }); add_task(async function test_closetab_send() {