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
Yusuke Sakurai
4dc004f0a2
misc: reduce unnecesarry output in cli/js tests ( #4182 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-03-03 15:51:07 +01:00
ecyrbe
2a594bd3b2
feat(std/node): add os.tmpdir() implementation ( #4213 )
2020-03-01 19:05:04 -05:00
Bartek Iwańczuk
f55b22e195
add assertResources sanitizer to cli/js/ unit tests ( #4161 )
2020-02-29 18:45:47 +01:00
Kevin (Kun) "Kassimo" Qian
5946808f66
tty: Deno.setRaw(rid, mode) to turn on/off raw mode ( #3958 )
2020-02-26 01:01:24 -05:00
Ryan Dahl
f4fd433e1a
Add Deno.Err change missing from previous commit ( #4113 )
2020-02-24 16:36:12 -05:00
Bartek Iwańczuk
e1687c0a46
rename Deno.Err -> Deno.errors ( #4093 )
2020-02-24 15:48:35 -05:00
ecyrbe
fb08cf7005
Add missing node os.release() implementation ( #4065 )
2020-02-24 08:35:45 -05:00
ecyrbe
fb98556d56
feat(std/node): add os.loadavg() ( #4075 )
2020-02-22 18:46:52 -05:00
Bartek Iwańczuk
dd8a109481
refactor: remove unneeded ErrorKinds ( #3936 )
2020-02-21 10:36:13 -05:00
Maximilien Mellen
90125566bb
Enable TS strict mode by default ( #3899 )
...
Fixes #3324
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-19 15:36:18 -05:00
Ry Dahl
5f1df038fb
Replace libdeno with rusty_v8 ( #3556 )
2020-01-05 09:19:29 -05:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
Nayeem Rahman
f07ffe8980
feat: Add Deno.dir("executable") ( #3526 )
2019-12-21 06:30:13 -05:00
Nayeem Rahman
b7b0668c78
feat: Return null on error in Deno.dir() ( #3531 )
2019-12-20 19:06:07 -05:00
Ry Dahl
077b6f7672
Reduce all directory functions to Deno.dir() ( #3518 )
2019-12-18 09:29:00 -05:00
Axetroy
de94698915
Feat: Add more dir APIs for Deno ( #3491 )
2019-12-15 13:14:20 +08:00
Ry Dahl
8f571ef166
Remove TTY tests - dead code ( #3229 )
2019-10-29 17:52:57 -04:00
Ryan Dahl
b81e5db17a
Merge deno_cli_snapshots into deno_cli ( #3064 )
2019-10-04 20:28:51 -04:00