diff options
Diffstat (limited to 'cli/tests/testdata/workers/close_nested_child.js')
-rw-r--r-- | cli/tests/testdata/workers/close_nested_child.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/workers/close_nested_child.js b/cli/tests/testdata/workers/close_nested_child.js new file mode 100644 index 000000000..627a176aa --- /dev/null +++ b/cli/tests/testdata/workers/close_nested_child.js @@ -0,0 +1,7 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +console.log("Starting the child worker"); + +setTimeout(() => { + console.log("The child worker survived the death of the parent!!!"); +}, 2000); |