summaryrefslogtreecommitdiff
path: root/cli/js/fetch_test.ts
AgeCommit message (Collapse)Author
2020-03-10reorg: move js runtime tests to cli/js/tests/ (#4250)Bartek Iwańczuk
All Deno runtime test files were moved to cli/js/tests/ directory. It makes a clear distinction that cli/js/tests/ contains code that is run under Deno runtime as opposed to code in cli/js/ which is used to create bundle and snapshot with "deno_typescript".
2020-03-04refactor: rewrite testPerm into unitTest (#4231)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.
2020-02-29add assertResources sanitizer to cli/js/ unit tests (#4161)Bartek Iwańczuk
2020-02-24rename Deno.Err -> Deno.errors (#4093)Bartek Iwańczuk
2020-02-23fetch: proper error for unsupported protocol (#4085)Kevin (Kun) "Kassimo" Qian
2020-02-21refactor: remove unneeded ErrorKinds (#3936)Bartek Iwańczuk
2020-02-19Enable TS strict mode by default (#3899)Maximilien Mellen
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-03Make fetch API more standards compliant (#3667)serverhiccups
2020-02-02Remove //tests symlink (#3849)Luka Hartwig
2020-01-20refactor: reduce number of ErrorKind variants (#3662)Bartek Iwańczuk
2020-01-02Happy new year! (#3578)Ry Dahl
2019-12-14fetch support URL instance as input (#3496)Axetroy
2019-11-13Update to TypeScript 3.7 (#3275)Kitson Kelly
and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273
2019-10-31Upgrade node_modules, change tagline, clean up root directory (#3247)Ry Dahl
* Upgrade node_modules * Simplify tagline * Move gclient_config.py out of root * Move package.json to tools * Remove yarn.lock * Remove CONTRIBUTING.md
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl