summaryrefslogtreecommitdiff
path: root/cli/tests/unit
AgeCommit message (Collapse)Author
2020-11-14fix: fix various global objects constructor length (#8373)Benjamin Gruenbaum
This commit changes various Web APIs constructors to match their signature in the browser.
2020-11-11fix(op_crates/web): FileReader event handler order (#8348)Benjamin Gruenbaum
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-11-02fix(op_crates/web): fix URLSearchParams, malformed url handling (#8092)Yoshiya Hinosawa
Co-authored-by: Evan <c4t@tuta.io>
2020-11-02test(op_crates/web): add EventTarget tests (#8205)Benjamin Gruenbaum
2020-11-02fix(op_crates/web): make TextEncoder work with forced non-strings (#8206)Benjamin Gruenbaum
Fixes: #8201
2020-10-27fix(cli): handle URL paths in Deno.mkdir() (#8140)Ross Weir
2020-10-27fix(op_crates/web): Expose event properties in console output (#8103)Ross Weir
Fixes #8073
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-10-26feat(unstable): add Deno.systemCpuInfo() (#7774)Elias Sjögreen
2020-10-26fix(op_crates/fetch): ensure Request.method to be string (#8100)Kid
Ensure "Request.method" to be the default value ("GET") if "init.method" is not defined, which follows browser's behavior.
2020-10-20fix(op_crates/web): TextEncoder should return error message with original ↵aca
input (#8005)
2020-10-20fix(cli/rt/performance): check for object props in startOrMeasureOptions ↵Jesse Jackson
before throwing (#7884) Fixes #7876 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-10-19fix(op_crates/web): TextEncoder should throw RangeError (#8039)Leonard Ginters
This commit changes error type thrown by TextEncoder, when provided encoding is not supported matching Chromium behavior.
2020-10-19fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030)Luca Casonato
2020-10-17upgrade: deno_doc, deno_lint, dprint, swc (#8009)Bartek Iwańczuk
2020-10-15feat(cli/ops): add the sleep_sync op (#7974)William Perron
2020-10-14fix(console): fix the test cases of function inspections (#7965)Yoshiya Hinosawa
2020-10-13fix(op_crates/web/url): apply backslash replacement to the pathname setter ↵Nayeem Rahman
(#7937)
2020-10-12fix(cli/rt/main): Add global interface objects (#7875)Nayeem Rahman
2020-10-11fix(console): fix inspection of Function (#7930)Yoshiya Hinosawa
This commit fixes the inspection of functions. The current implementation gets the name of the type of the function from "f.__proto__.constructor.name", and it throws when the prototype is set to null. This commit checks the prototype before accessing its constructor name and uses the generic name 'Function' if the prototype is not available.
2020-10-11fix(cli/console): only inspect getters with option (#7830)Casper Beyer
2020-10-10fix(op_crate/web): add padding on URLSearchParam (#7905)Lively
Fixes #7888
2020-10-09fix(op_crates/fetch): Stringify and parse Request URLs (#7838)Nayeem Rahman
Fixes #7837
2020-10-08fix: update worker types to better align to lib.dom.d.ts (#7843)Kitson Kelly
2020-10-08fix(cli/rt/error_stack): Improve message line formatting (#7860)Nayeem Rahman
2020-10-07fix(cli/rt/console): Don't require a prototype to detect a class instance ↵Nayeem Rahman
(#7869)
2020-10-07fix(cli/ops/fs): Don't force Windows paths separate paths with forward slash ↵Nayeem Rahman
(#7833)
2020-10-05perf(cli/console): Don't add redundant ANSI codes (#7823)Nayeem Rahman
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-02upgrade: swc, deno_doc, deno_lint, dprint (#7793)Bartek Iwańczuk
2020-10-01fix(cli/console): Catch and format getter errors (#7766)Nayeem Rahman
2020-09-30feat(cli/console): Add Deno.InspectOptions::colors (#7742)Nayeem Rahman
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-27fix: net listen crashes on explicit undefined hostname (#7706)Giorgi Rostomashvili
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-25refactor: clean timers tests (#7679)Bartek Iwańczuk
2020-09-25fix(cli): customInspect works on functions (#7670)Kitson Kelly
Fixes #7650
2020-09-23fix(cli/console): quote non-alphanumeric symbols (#7641)Casper Beyer
This quotes and escapes symbol descriptions that contains characters outside of the basic alpha-numeric identifier range.
2020-09-23fix(cli/console): enclose symbol keys in brackets (#7642)Casper Beyer
This encloses symbol keys when used in objects with brackets (e.g [Symbol("Symbol.iterator")]).
2020-09-22fix(cli/console): quote object symbol keys that are invalid identifiers (#7553)Casper Beyer
2020-09-21fix: Response.arrayBuffer() doesn't return promise (#7618)Luca Casonato
2020-09-19fix(cli/rt): make some web API constructors illegal at runtime (#7468)Nayeem Rahman
2020-09-18fix(cli/console): surround non alpha-numeric object keys with quotes (#7550)Casper Beyer
2020-09-18fix(cli/console): always quote and escape inspected strings (#7546)Casper Beyer
2020-09-18refactor: deno_fetch op crate (#7524)Bartek Iwańczuk
2020-09-17fix(cli/console): escape non printable characters in object entries (#7533)Casper Beyer
2020-09-17refactor: move op_resources and op_close to deno_core (#7539)Bartek Iwańczuk
Moves op_close and op_resources to deno_core::ops and exports them. Adds serde dependency to deno_core and reexports it. Moves JS implementation of those ops to Deno.core and reexports them in Deno.
2020-09-16refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521)Bartek Iwańczuk
Instead use Deno.core.jsonOpSync and Deno.core.jsonOpAsync
2020-09-14test(cli/tests/unit): Enable color for js_unit_tests (#7443)Nayeem Rahman
2020-09-12refactor: improve tsc diagnostics (#7420)Kitson Kelly