summaryrefslogtreecommitdiffstats
path: root/services/sync/tests/unit/test_tab_quickwrite.js
diff options
context:
space:
mode:
Diffstat (limited to 'services/sync/tests/unit/test_tab_quickwrite.js')
-rw-r--r--services/sync/tests/unit/test_tab_quickwrite.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sync/tests/unit/test_tab_quickwrite.js b/services/sync/tests/unit/test_tab_quickwrite.js
index 2a1c75c8c6..c363992d66 100644
--- a/services/sync/tests/unit/test_tab_quickwrite.js
+++ b/services/sync/tests/unit/test_tab_quickwrite.js
@@ -179,7 +179,7 @@ add_task(async function test_tab_quickWrite_telemetry() {
let telem = get_sync_test_telemetry();
telem.payloads = [];
let oldSubmit = telem.submit;
- let submitPromise = new Promise((resolve, reject) => {
+ let submitPromise = new Promise(resolve => {
telem.submit = function (ping) {
telem.submit = oldSubmit;
resolve(ping);