Enforce env permission on homeDir() and execPath (#2714)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2019-08-03 18:34:13 -07:00 committed by Ryan Dahl
parent c6861b537e
commit 52c13fb3ed
4 changed files with 40 additions and 10 deletions

View file

@ -10,7 +10,7 @@ from test_util import DenoTestCase, run_tests
class JsUnitTests(DenoTestCase):
def test_unit_test_runner(self):
cmd = [
self.deno_exe, "run", "--reload", "--allow-run",
self.deno_exe, "run", "--reload", "--allow-run", "--allow-env",
"js/unit_test_runner.ts"
]
process = subprocess.Popen(