Add tests for options to babel-node (#9510)

This commit is contained in:
Nicolò Ribaudo 2019-02-14 13:43:30 +01:00 committed by GitHub
parent 85ea5b0b50
commit 2fb1f9aed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{
"args": ["--inspect", "--eval", "console.log('foo');"],
"stderr": "Debugger listening on",
"stderrContains": true,
"stdout": "foo"
}

View File

@ -0,0 +1,4 @@
{
"args": ["--nolazy", "--eval", "console.log('foo')"],
"stdout": "foo"
}

View File

@ -0,0 +1,4 @@
{
"args": ["-gc", "--eval", "console.log(typeof global.gc)"],
"stdout": "function"
}