- 23 3月, 2020 1 次提交
-
-
由 uki00a 提交于
-
- 22 3月, 2020 3 次提交
-
-
由 Ryan Dahl 提交于
These have no function and are not tested, probably incorrect in many situations.
-
由 Akshat Agarwal 提交于
This is to avoid confusion with Deno.args which does not include the executable to be run.
-
由 Bert Belder 提交于
-
- 21 3月, 2020 5 次提交
-
-
由 Yusuke Sakurai 提交于
-
由 Ryan Dahl 提交于
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH Also remove outdated docs related to ninja/gn. * fix * remove parameter to build_mode() * remove arg parsing from benchmark.py
-
由 dubiousjim 提交于
-
由 Nayeem Rahman 提交于
-
由 dubiousjim 提交于
-
- 20 3月, 2020 7 次提交
-
-
由 dubiousjim 提交于
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and #4017, and also to avoid some future development pain. Mostly there is no change in functionality. Except: * squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd` * eliminated the use of the external `remove_dir_all` crate. * op_chmod now only queries metadata to verify file/dir exists on Windows (it will already fail on Unix if it doesn't) * op_chown now verifies the file/dir's existence on Windows like chmod does.
-
由 Samrith Shankar 提交于
-
由 Nayeem Rahman 提交于
-
由 Nayeem Rahman 提交于
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs * use "Deno.core.encode" in "TextEncoder" * use "Deno.core.decode" in "TextDecoder" * remove "core_decode" and "core_encode" benchmarks
-
由 Ryan Dahl 提交于
-
- 19 3月, 2020 12 次提交
-
-
由 Bartek Iwańczuk 提交于
Due to structure of "Server" for each open connection there's a pending "read" op. Because connection owned by "Server" are not tracked, calling "Server.close()" doesn't close open connections. This commit introduces simple tracking of connections for server and ensures owned connections are closed on "Server.close()".
-
-
由 Nikolai Vavilov 提交于
-
由 Bartek Iwańczuk 提交于
This introduces BREAKING CHANGE by removing "std/testing/runner.ts". Std tests are now run using "deno test" subcommand.
-
由 Bartek Iwańczuk 提交于
After splitting "failFast" and "exitOnFail" arguments, there was a situation where failing tests did not exit with code 1. * fixed argument value passed to Deno.runTests() in deno test * fixed argument value passed to Deno.runTests() in std/testing/runner.ts * added integration tests for deno test to ensure failFast and exitOnFail work as expected * don't write test file to file system, but keep it in memory
-
由 Kitson Kelly 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Chris Knight 提交于
-
由 Chris Knight 提交于
-
由 Bartek Iwańczuk 提交于
This PR brings assertOps and assertResources sanitizers to Deno.test() API. assertOps checks that test doesn't leak async ops, ie. there are no unresolved promises originating from Deno APIs. Enabled by default, can be disabled using Deno.TestDefinition.disableOpSanitizer. assertResources checks that test doesn't leak resources, ie. all resources used in test are closed. For example; if a file is opened during a test case it must be explicitly closed before test case finishes. It's most useful for asynchronous generators. Enabled by default, can be disabled using Deno.TestDefinition.disableResourceSanitizer. We've used those sanitizers in internal runtime tests and it proved very useful in surfacing incorrect tests which resulted in interference between the tests. All tests have been sanitized. Closes #4208
-
由 Bert Belder 提交于
Fixes: #4373
-
由 Kitson Kelly 提交于
Fixes #4101 Previously, we would just provide the raw JSON to the TypeScript compiler worker, but TypeScript does not transform JSON. This caused a problem when emitting a bundle, that the JSON would just be "inlined" into the output, instead of being transformed into a module. This fixes this problem by providing the compiled JSON to the TypeScript compiler, so TypeScript just sees JSON as a "normal" TypeScript module.
-
- 18 3月, 2020 7 次提交
-
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Bert Belder 提交于
-
由 Bert Belder 提交于
-
由 Bert Belder 提交于
-
由 Bartek Iwańczuk 提交于
-
- 17 3月, 2020 4 次提交
-
-
由 Kitson Kelly 提交于
Introduces `std/types` which is designed to provide types for common libraries that are compatible with Deno.
-
由 crowlKats 提交于
-
由 dubiousjim 提交于
-
由 Gurwinder Singh 提交于
-
- 16 3月, 2020 1 次提交
-
-
由 Bartek Iwańczuk 提交于
This PR attempts to fix intermittent errors occurring on Windows for "cli/tests/unit_test_runner.ts." Runner has been reworked to create only single TCP listener instead of one listener per worker. Additionally worker doesn't close TCP socket - it waits for parent process to close the socket and only then exits.
-