Andreu Botella
c58790ef13
test(compile): Add a test for dynamic imports in deno compile
( #18017 )
...
denoland/eszip#115 added support for statically-analyzed dynamic imports
in eszip, which made `deno compile` support dynamic imports starting
from #17858 . This PR adds a test for it.
----
This test is adapted from PR #17663 .
Closes #17908
2023-03-10 12:47:20 +09:00
Bartek Iwańczuk
9e282155b7
tests: move integration tests to a single module ( #17380 )
...
Effectively reverts changes done in
https://github.com/denoland/deno/pull/16816
2023-01-13 02:59:13 +01:00
Bartek Iwańczuk
7e0c558187
tests: move integration tests to separate modules ( #16816 )
2022-11-26 02:29:56 +01:00
David Sherret
1464b756a4
refactor: move out test files from root testdata directory into sub directories ( #15949 )
2022-09-19 10:32:21 -04:00
David Sherret
c3e48cba18
fix(compile): panic when running with a populated dep analysis cache ( #15672 )
...
Closes #15612
2022-08-29 14:24:10 -04:00
Bartek Iwańczuk
9a85a95c43
feat: subcommands type-check only local files by default ( #14623 )
...
This commit changes default mode of type-checking to "local"
and adds "--check" flag to following subcommands:
- deno bench
- deno bundle
- deno cache
- deno compile
- deno eval
- deno install
- deno test
2022-05-17 23:53:42 +02:00
Bartek Iwańczuk
f57aac77ff
BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs ( #14463 )
2022-05-17 13:50:31 -04:00
Nayeem Rahman
9853c96cc4
refactor: Remove PrettyJsError and js_error_create_fn ( #14378 )
...
This commit:
- removes "fmt_errors::PrettyJsError" in favor of "format_js_error" fn
- removes "deno_core::JsError::create" and
"deno_core::RuntimeOptions::js_error_create_fn"
- adds new option to "deno_runtime::ops::worker_host::init"
2022-04-27 01:06:10 +02:00
David Sherret
1535fdd949
chore: fix main ( #14175 )
2022-04-01 11:49:16 -04:00
David Sherret
1c37ac3352
chore(tests): use custom temp dir creation for the tests ( #14153 )
2022-04-01 11:15:37 -04:00
Divy Srivastava
b0f974fbfd
fix(compile): follow redirects when resolving ( #14161 )
2022-03-31 14:11:30 +05:30
David Sherret
89dd5dac62
chore: fix compile_windows_ext test ( #14142 )
2022-03-28 14:38:15 -04:00
Kitson Kelly
c755548e02
tests(cli): ignore previously unignored test ( #14104 )
...
Ref: #14103
2022-03-24 12:45:45 +11:00
David Sherret
e46b5f738d
fix(tests): do not use global env vars in install tests ( #14078 )
2022-03-22 13:37:15 -04:00
TrickyPi
b01bc7faff
fix(cli): improve deno compile
error messages ( #13944 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-18 19:18:50 -04:00
Divy Srivastava
03c55b4970
fix(compile): Support import maps ( #13756 )
2022-02-24 18:58:00 +05:30
William Tetlow
7b893bd57f
feat(cli): Replace bundling with eszip in deno compile ( #13563 )
...
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-02-15 18:03:46 +05:30
juju
50e8ab8a86
feat(cli): add ignore directives to bundled code ( #13309 )
...
This commit adds lint and fmt ignore directives to bundled
code as well as a comment stating that the code was bundled
and shouldn't be edited manually.
2022-01-12 13:05:06 +01:00
Rabin Gaire
605b8db8f6
cli(compile): fix output flag behaviour on compile command ( #13299 )
2022-01-10 23:24:39 -05:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Zheyu Zhang
fd6d0e309c
fix(cli/compile): skip bundling for pre-bundled code ( #12687 )
2021-11-23 23:59:17 +01:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
David Sherret
098a7c8886
chore: split up integration_tests.rs into separate files ( #11131 )
2021-06-27 13:27:36 -04:00