Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-16 | refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763) | Nayeem Rahman | |
2020-04-03 | fix erroneous assert (#4608) | dubiousjim | |
2020-04-01 | refactor(cli/js/testing): Reduce testing interfaces (#4451) | Nayeem Rahman | |
* Reduce "testing" interfaces * Use a callback instead of a generator for Deno.runTests() * Default RunTestsOptions::reportToConsole to true * Compose TestMessage into a single interface | |||
2020-03-20 | Add require-await lint rule (#4401) | Samrith Shankar | |
2020-03-19 | refactor: rename Deno.TestDefinition.skip to ignore (#4400) | Bartek Iwańczuk | |
2020-03-18 | feat: Deno.test() sanitizes ops and resources (#4399) | 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 | |||
2020-03-15 | refactor(std): Uncomment disabled tests, use skip option (#4378) | Nayeem Rahman | |
2020-02-24 | rename Deno.Err -> Deno.errors (#4093) | Bartek Iwańczuk | |
2020-02-21 | refactor: remove unneeded ErrorKinds (#3936) | Bartek Iwańczuk | |
2020-02-11 | refactor: rewrite tests in std/ to use Deno.test (#3930) | Bartek Iwańczuk | |
2020-01-07 | fix: Deno.mkdir should conform to style guide (#3617) | Ry Dahl | |
2019-11-14 | fix: error handling in std/fs/walk() (#3318) | Nayeem Rahman | |
- Make assertThrows() return the Error - Remove WalkOptions::onError() | |||
2019-10-09 | Move everything into std subdir | Ryan Dahl | |