diff options
Diffstat (limited to 'test/async-hooks/test-promise.promise-before-init-hooks.js')
-rw-r--r-- | test/async-hooks/test-promise.promise-before-init-hooks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/async-hooks/test-promise.promise-before-init-hooks.js b/test/async-hooks/test-promise.promise-before-init-hooks.js index 27536b727d..79bbd1751d 100644 --- a/test/async-hooks/test-promise.promise-before-init-hooks.js +++ b/test/async-hooks/test-promise.promise-before-init-hooks.js @@ -10,7 +10,7 @@ const p = new Promise(common.mustCall(function executor(resolve, reject) { })); // init hooks after promise was created -const hooks = initHooks({allowNoInit: true}); +const hooks = initHooks({ allowNoInit: true }); hooks.enable(); p.then(function afterresolution(val) { |