diff --git a/tests/unit/global_vars/defaults_modules_spec.js b/tests/unit/global_vars/defaults_modules_spec.js index 5fb5b70e..c0a7f0e4 100644 --- a/tests/unit/global_vars/defaults_modules_spec.js +++ b/tests/unit/global_vars/defaults_modules_spec.js @@ -29,8 +29,8 @@ beforeAll(function () { return require(filename); } catch { // ignore - }; - }; + } + } }; vm.runInNewContext(code, sandbox, fileName); diff --git a/tests/unit/global_vars/root_path_spec.js b/tests/unit/global_vars/root_path_spec.js index 1f18d9b7..591f3ddb 100644 --- a/tests/unit/global_vars/root_path_spec.js +++ b/tests/unit/global_vars/root_path_spec.js @@ -29,8 +29,8 @@ beforeAll(function () { return require(filename); } catch { // ignore - }; - }; + } + } }; vm.runInNewContext(code, sandbox, fileName);