- 07 3月, 2020 6 次提交
-
-
由 Bartek Iwańczuk 提交于
* "op_close" - moved to "cli/ops/resources.rs" * "op_seek", "op_open" - moved to "cli/ops/fs.rs" Co-authored-by: NRyan Dahl <ry@tinyclouds.org>
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
* Fix flaky test test_permissions_net_listen_allow_localhost * Improve error reporting for run_and_collect_output
-
由 Ryan Dahl 提交于
-
由 Aurélien Bertron 提交于
-
由 dubiousjim 提交于
There's a lot of variation in doc comments and internal code about whether the first parameter to file system calls is `path` or `name` or `filename`. For consistency, have made it always be `path`.
-
- 06 3月, 2020 6 次提交
-
-
由 Chris Knight 提交于
-
由 João Souto 提交于
-
由 dubiousjim 提交于
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Bartek Iwańczuk 提交于
-
- 05 3月, 2020 9 次提交
-
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
* refactor: preliminary cleanup of Deno.runTests() * Change time measurement to use new Date() instead of performance.now(). Because there is no guarantee that tests are run with "--allow-hr" using new Date() guarantees higher precision of 1ms instead of 2ms. * Support String type filter in "skip" and "only". * Split "exitOnFail" into "exitOnFail" and "failFast". Former tells if "runTests()" should exit with code 1 on test failure, while latter tells if "runTests()" should stop running tests on first failure. * Use "defer" to wait for unhandled promise rejection - this bit is funky and doesn't seem right, but for now it's just a rewrite from using "setTimeout". Intended to be fixed in later commits. * Remove global "__DENO_TEST_REGISTRY", don't expose list of registered tests (to be addressed in follow up commits) * Remove arbitrary slow test threshold; use uniform coloring instead
-
由 Bartek Iwańczuk 提交于
- Cleanup "tsCompilerOnMessage" by factoring out separate methods for each request type: * "compile" * "runtimeCompile" * "runtimeTranspile" - Simplify control flow of compiler workers by a) no longer calling "close()" in worker runtime after a single message; b) explicitly shutting down worker from host after a single message Co-authored-by: NRyan Dahl <ry@tinyclouds.org>
-
由 Ryan Dahl 提交于
-
由 Bert Belder 提交于
It contains a clippy issue, and there's no need for this macro anyway.
-
由 Ryan Dahl 提交于
-
由 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.
-
- 04 3月, 2020 6 次提交
-
-
由 Kitson Kelly 提交于
-
由 Kitson Kelly 提交于
Fixes #4234
-
由 yuta0801 提交于
-
由 João Souto 提交于
-
由 Ryan Dahl 提交于
-
由 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
-
- 03 3月, 2020 9 次提交
-
-
由 Yusuke Sakurai 提交于
Co-authored-by: NBartek Iwańczuk <biwanczuk@gmail.com>
-
由 Chris Knight 提交于
-
由 Bert Belder 提交于
-
由 Bert Belder 提交于
-
由 Kitson Kelly 提交于
Fixes #4602 We turned off `allowJs` by default, to keep the compiler from grabbing a bunch of files that it wouldn't actually do anything useful with. On the other hand, this caused problems with bundles, where the compiler needs to gather all the dependencies, including JavaScript ones. This fixes this so that when we are bundling, we analyse JavaScript imports in the compiler.
-
由 dubiousjim 提交于
* Rename MkdirOption interface to MkdirOptions It was hard to remember which Options interfaces were spelled in the singular and which in the plural (and anyway this one contained two options). Also added MkdirOptions to cli/js/deno.ts. All the analogous interfaces were exported there. * Rename RemoveOption interface to RemoveOptions This was the last remaining Option interface spelled in the singular. Easier to remember if they're all Option**s**; plus we may want to add extra options here later.
-
由 Bartek Iwańczuk 提交于
-
由 Bartek Iwańczuk 提交于
* rename structures related to ES Modules; add "Modules" prefix * remove unneeded Unpin trait requirement for "ModuleLoader"
-
由 bartOssh 提交于
-
- 02 3月, 2020 4 次提交
-
-
由 Ryan Dahl 提交于
-
由 dubiousjim 提交于
-
由 João Souto 提交于
-
由 ecyrbe 提交于
-