diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-03-03 18:22:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 18:22:53 +0100 |
commit | ee452ad883c1c711839655a307b39e8eea5bf410 (patch) | |
tree | 2812a5201beb2b52c92d6e3c958f2288b0253b68 /cli/tests/workers_test.out | |
parent | 4dc004f0a24fdc81026ec03326b9943a95f1a31d (diff) |
add assertOps sanitizer in cli/js/ unit tests (#4209)
* add "assertOps" test assertion which makes sure test case
is not "leaking" ops - ie. after test finishes there are no
pending async ops
* apply "assertOps" to all tests in "cli/js/"
* fix numerous tests leaking ops
* document problem with edge case in "clearInterval"
and "clearTimeout" implementation where they
may leak async ops
* move "cli/js/worker_test.ts" to "cli/tests/worker_test.ts" and
run as integration test; workers leak ops because of missing
"terminate" implementation
Diffstat (limited to 'cli/tests/workers_test.out')
-rw-r--r-- | cli/tests/workers_test.out | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/workers_test.out b/cli/tests/workers_test.out new file mode 100644 index 000000000..691301f81 --- /dev/null +++ b/cli/tests/workers_test.out @@ -0,0 +1,7 @@ +running 4 tests +OK workersBasic [WILDCARD] +OK nestedWorker [WILDCARD] +OK workerThrowsWhenExecuting [WILDCARD] +OK workerCanUseFetch [WILDCARD] + +test result: OK 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD]
\ No newline at end of file |