1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-02 12:28:46 -05:00
denoland-deno/cli/js/mixins
Bartek Iwańczuk 8d96dffa41
refactor: rewrite testPerm into unitTest (#4231)
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-04 17:31:14 +01:00
..
dom_iterable.ts change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00
dom_iterable_test.ts refactor: rewrite testPerm into unitTest (#4231) 2020-03-04 17:31:14 +01:00