summaryrefslogtreecommitdiff
path: root/cli/tests/unit/test_util.ts
AgeCommit message (Collapse)Author
2022-03-23feat(unstable): add ref/unref to Listener (#13961)Yoshiya Hinosawa
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-12refactor(core): validate promise id in refOp (#13905)Yoshiya Hinosawa
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2022-01-04fix: upgrade swc_ecmascript to 0.103 (#13284)David Sherret
2021-11-23refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)Bartek Iwańczuk
2021-10-11feat(unstable/test): imperative test steps API (#12190)David Sherret
2021-10-10test: remove duplicate import (#12374)Feng Yu
2021-09-23test(cli): align unit test permissions with runtime test permissions (#12189)Casper Beyer
2021-09-22chore: replace calls to assertThrowsAsync with assertRejects (#12176)Casper Beyer
2021-09-05chore(std/http): server module name migration (#11890)Craig Morten
2021-08-06feat: ffi to replace plugins (#11152)Elias Sjögreen
This commit removes implementation of "native plugins" and replaces it with FFI API. Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
2021-06-25test(cli): refactor the usages of delay (#11098)Yoshiya Hinosawa
This PR refactors the usages of delay utility in js unit testing. The same utiliy is defined in several places with different names. This PR replaces those usages with the one provided in std/async/delay.ts to improve the readability and consistency of test code.
2021-04-27test(cli): run unit tests using Deno.test (#10330)Casper Beyer
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-04-12fix(runtime/js/timers): Use (0, eval) instead of eval() (#10103)Nayeem Rahman
2021-04-09chore: upgrade dependencies (#10094)Bartek Iwańczuk
This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript
2021-02-22fix(tests): fix fetchConnectionError test if port is in use (#9465)David DeSimone
Fixes #9379
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-11-26refactor(cli/tests): replace createResolvable with deferred (#8507)crowlKats
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-13Revert "feat: move unstable Deno.permissions to navigator.permissions… (#6729)Bartek Iwańczuk
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)" This reverts commit 202e7fa6ad366ee56a6d070e94eaecb6dbc745bf.
2020-07-09feat: move unstable Deno.permissions to navigator.permissions (#6244)Kitson Kelly
2020-06-12feat: Add TestDefinition::only (#5793)Nayeem Rahman
2020-06-11feat: URL support in Deno filesystem methods (#5990)River
2020-06-10fix: Remove try-catch from Buffer.readFrom, readFromSync (#6161)Casper Beyer
2020-06-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-05-20move js unit tests to cli/tests (#5678)Ryan Dahl