mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
(cherry picked from commit bdbd227bb1
)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
This commit is contained in:
parent
16f72ad707
commit
98a821dd27
1 changed files with 1 additions and 4 deletions
|
@ -25,10 +25,7 @@ test('test setup ok', (t) => {
|
|||
t.end();
|
||||
});
|
||||
|
||||
// TODO: fork() has been omitted as it doesn't validate its arguments in
|
||||
// Node.js 10 and will throw an internal error asynchronously. This is fixed in
|
||||
// newer versions. See https://github.com/elastic/kibana/issues/59628
|
||||
const functions = ['exec', 'execFile', 'spawn', 'execFileSync', 'execSync', 'spawnSync'];
|
||||
const functions = ['exec', 'execFile', 'fork', 'spawn', 'execFileSync', 'execSync', 'spawnSync'];
|
||||
for (const name of functions) {
|
||||
test(`${name}()`, (t) => {
|
||||
t.throws(() => cp[name](), /argument must be of type string/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue