summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2020-11-24feat(test): horizontal separator between disjoint runs of lines (#8484)Valentin Anger
Places a newline between non-consecutive line block in coverage report to improve readability.
2020-11-24fix(op_crates/fetch): `redirect: "manual"` fetch should return `type: ↵Luca Casonato
"default"` response (#8353)
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-11-23fix(cli): add file URL support for Deno.readLink (#8423)William Perron
2020-11-23tests(cli): add test for improper unicode encoding (#8162)Kitson Kelly
and updates swc_ecma_codegen Closes #8161
2020-11-23fix(cli/tsc): allow non-standard extensions on imports (#8464)Nayeem Rahman
2020-11-22feat(unstable): Support --watch flag for bundle and fmt subcommands (#8276)Yusuke Tanaka
This commit adds support for "--watch" flag for "bundle" and "fmt" subcommands. In addition to this, it refactors "run --watch" command so that module resolution will occur every time the file watcher detects file addition/deletion, which allows the watcher to observe a file that is newly added to the dependency as well.
2020-11-22chore(cli/flags): Rename --failfast to --fail-fast (#8456)Nayeem Rahman
2020-11-22feat(unstable): Add deno test --no-run (#8093)Nayeem Rahman
This commit adds new flag to "deno test" subcommand called "--no-run" that allows to preload, cache an type check.
2020-11-21upgrade: rusty_v8 0.13.0, v8 8.8.278.2 (#8446)Bartek Iwańczuk
2020-11-21upgrade: deno_doc, deno_lint, dprint, swc (#8443)Bartek Iwańczuk
2020-11-19fix(cli/tests): printf.exe doesn't exist on windows (#8404)Mark Tiedemann
2020-11-14build: update dlint to v0.2.10 (#8284)Yusuke Tanaka
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics for "require-await" rule. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
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-10fix(web/worker) define event handlers in DOM order (#8334)Benjamin Gruenbaum
2020-11-10fix(cli/rt): dom handler order in websocket (#8320)Benjamin Gruenbaum
2020-11-10tests(cli): check ignores dynamic import errors (#8323)Kitson Kelly
Closes #6618
2020-11-10fix(cli): allow root modules be .mjs/.cjs (#8310)Kitson Kelly
Fixes #6176
2020-11-10fix(cli): allow setting of importsNotUsedAsValues in Deno.compile() (#8306)Kitson Kelly
Fixes #6663
2020-11-09refactor(cli): remove unnecessary format! calls (#8315)KNnut
2020-11-09fix(cli): do not write tsbuildinfo when diagnostics are emitted (#8311)Kitson Kelly
Fixes #8309
2020-11-08chore: remove dead code (#8298)Bartek Iwańczuk
2020-11-08upgrade: deno_doc, deno_lint, dprint, swc (#8292)Bartek Iwańczuk
2020-11-08refactor: rewrite permission_test to not depend on Python (#8291)Mo
2020-11-08fix(cli): ensure that transitory dependencies are emitted (#8275)Kitson Kelly
Fixes #8111
2020-11-07fix(cli): allow remapping to locals for import map (#8262)Kitson Kelly
Fixes #7723
2020-11-07fix(cli): properly handle type checking root modules with type defini… (#8263)Kitson Kelly
2020-11-06fix(cli): correct libs sent to tsc for unstable worker (#8260)Kitson Kelly
Fixes #8257
2020-11-06refactor(cli): refactor file_fetcher (#8245)Kitson Kelly
2020-11-05build: rewrite tools/ scripts to deno (#8247)Bartek Iwańczuk
This commit rewrites scripts in "tools/" directory to use Deno instead of Python. In return it allows to remove huge number of Python packages in "third_party/".
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(cli): inject helpers when transpiling via swc (#8221)Kitson Kelly
Fixes #8212
2020-11-02refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)Kitson Kelly
Fixes #8060
2020-11-02fix(op_crates/web): make TextEncoder work with forced non-strings (#8206)Benjamin Gruenbaum
Fixes: #8201
2020-10-30upgrade: deno_doc, deno_lint, dprint, swc (#8197)Bartek Iwańczuk
- deno_doc 0.1.14 - deno_lint 0.2.7 - dprint-plugin-typescript 0.32.7 - swc_bundler 0.14.1 - swc_ecmascript 0.13.1
2020-10-30fix: panic in bundler (#8168)Bartek Iwańczuk
This commit fixes panic in bundler which was caused by not setting thread-local slots.
2020-10-29fix(cli): prompt works with windows eol and eof (#8149)Sander Hahn
2020-10-29fix(cli): make hashes of tsconfig deterministic (#8167)Kitson Kelly
Fixes #8163
2020-10-28refactor(watch): create single watcher for whole process (#8083)Yusuke Tanaka
This commit rewrites file watcher used with --watch flag. Instead of creating new watcher after each restart, only a single watcher is created for whole process. Additionally debouncing mechanism has been added to prevent infinite restart loops if multiple files were changed in quick succession. Co-authored-by: bartossh <lenart.consulting@gmail.com>
2020-10-28fix(repl): don't hang on unpaired braces (#8151)Kevin (Kun) "Kassimo" Qian
Previously, entering a single ']' would cause repl to forever accepting new lines, due to that `ValidationResult::Invalid` would actually be consumed by the editor itself while continue building the lines. Instead we should mark it as `Valid` and send the bad input for evaluation to get the proper error from V8. Before: ``` > ] (you can keep entering new line here, and it will never consume input until you Ctrl-C) ``` After: ``` > ] Uncaught SyntaxError: Unexpected token ']' > ```
2020-10-28fix(cli): module graph handles redirects properly (#8159)Kitson Kelly
Fixes #8154
2020-10-28fix(cli): restore tripleslash lib refs support (#8157)Kitson Kelly
Fixes #8147
2020-10-27fix(cli): handle URL paths in Deno.mkdir() (#8140)Ross Weir
2020-10-27fix(cli): do not throw on empty typescript files (#8143)Kitson Kelly
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-27fix(op_crates/web): Expose event properties in console output (#8103)Ross Weir
Fixes #8073
2020-10-27fix(cli): restore permission check on workers (#8123)Kitson Kelly
Fixes #8120
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