Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-04 | refactor: rewrite testPerm into unitTest (#4231) | Bartek Iwańczuk | |
Rewrite "testPerm" helper function used for testing of internal runtime code. It's been renamed to "unitTest" and provides API that is extensible in the future by accepting optional "UnitTestOptions" argument. "test" helper was also removed and replaced by overloaded version of "unitTest" that takes only function argument. "UnitTestOptions" currently supports "perms" and "skip" options, where former works exactly as first argument to "testPerm" did, while the latter allows to conditionally skip tests. | |||
2020-03-03 | add assertOps sanitizer in cli/js/ unit tests (#4209) | Bartek Iwańczuk | |
* 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 | |||
2020-01-02 | Happy new year! (#3578) | Ry Dahl | |
2019-10-04 | Merge deno_cli_snapshots into deno_cli (#3064) | Ryan Dahl | |