summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2019-11-26refactor: reorganize flags (#3389)Ry Dahl
- Remove ability to specify run arguments like `--allow-net` after the script argument. It's too hacky to make work with clap. - Remove `--v8-options`, instead use `--v8-flags=--help` - Give more descriptive names to unit tests in flags.rs - Assume argv and subcommand into DenoFlags struct so the output of flags module is only DenoFlags rather than the tuple (subcommand, flags, argv). - Improve CLI help text - Make `deno run` specific args like `--allow-net` only show up in 'deno help run' instead of as global flags in `deno help`. - Removes `deno version` to simplify our implementation and be closer to clap defaults. `deno -V` now only shows Deno's version and not V8's nor TypeScript. `Deno.versions` can be used to see that information. - Prevent clap from auto-detecting terminal width and attempting to wrap text.
2019-11-25better error message for missing module (#3402)Bartek Iwańczuk
2019-11-20feat: Support named exports on bundles. (#3352)Kitson Kelly
2019-11-19fix: use AF_INET6 in ./tools/http_server.py (#3374)Bartek Iwańczuk
2019-11-16Use futures 0.3 API (#3358)Bartek Iwańczuk
2019-11-15run std test with cargo test (#3344)Bartek Iwańczuk
Removes three CI jobs
2019-11-14Loader: support .wasm imports (#3328)Kevin (Kun) "Kassimo" Qian
* loader: support .wasm imports * http_server: true * Support named exports * Clippy
2019-11-13Revert "tests: share http server between tests (#3336)"Ryan Dahl
This reverts commit dbf861f8a02f4a90ef68a4e2741b973becc53438.
2019-11-13tests: share http server between tests (#3336)Bartek Iwańczuk
Re-enable flaky tests
2019-11-13Disable flaky tests lock_check_ok2 again (#3334)Ry Dahl
Mistakenly re-enabled in #3275.
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-11-13Disable flaky tests lock_check_ok2 and lock_check_err2 (#3331)Ry Dahl
2019-11-13Make bundles fully standalone (#3325)Kitson Kelly
- Bundles are fully standalone. They now include the shared loader with `deno_typescript`. - Refactor of the loader in `deno_typescript` to perform module instantiation in a more - Change of behaviour when an output file is not specified on the CLI. Previously a default name was determined and the bundle written to that file, now the bundle will be sent to `stdout`. - Refactors in the TypeScript compiler to be able to support the concept of a request type. This provides a cleaner abstraction and makes it easier to support things like single module transpiles to the userland. - Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`, and define `pid` and `noColor` in a better way. - Don't bind early to `console` in `repl.ts`. - Add an integration test for generating a bundle.
2019-11-08test: re-enable integration test 045 (#3300)Yoshiya Hinosawa
This test was improved in #3185.
2019-11-08disable flaky testRyan Dahl
2019-11-07disable flaky testRyan Dahl
2019-11-05Disable flaky tests (#3270)Ry Dahl
2019-11-03feat: lockfiles (#3231)Ry Dahl
Use --lock-write=lock.json or --lock-check=lock.json on the command line.
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-29Remove TTY tests - dead code (#3229)Ry Dahl
2019-10-27Use web standard Permissions API (#3200)Yoshiya Hinosawa
2019-10-27feat: top-level-for-await (#3212)Andy Hayden
2019-10-26Support named imports/exports for subset of properties in JSON modules (#3210)Kevin (Kun) "Kassimo" Qian
2019-10-22remove --no-prompt flag, fail on missing permissions (#3183)Yoshiya Hinosawa
2019-10-22Add TextDecoder benchmark (#3180)Ry Dahl
2019-10-22test: improve http_proxy test (#3185)Yoshiya Hinosawa
2019-10-21feat: Deno.listenTLS (#3152)Bartek Iwańczuk
2019-10-21Fix build warning (#3146)Ry Dahl
2019-10-16fix: remote jsx/tsx files were compiled as js/ts (#3125)Yusuke Sakurai
2019-10-15Add debug build to github actionsRyan Dahl
This disabled the tty_tests which seem to be very flaky with the debug build.
2019-10-09Run deno_std tests in github actionsRyan Dahl
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std
2019-10-04Use xeval from deno_std (#3058)Nayeem Rahman
2019-10-03Async compiler processing (#3043)Kitson Kelly
Basically this does pre-processing of TypeScript files and gathers all the dependencies asynchronously. Only then after all the dependencies are gathered, does it do a compile, which at that point all the dependencies are cached in memory in the compiler, so with the exception of the hard coded assets, there are no ops during the compilation. Because op_fetch_source_files is now handled asynchronously in the runtime, we can eliminate the tokio_util::block_on() which was causing the increase in threads. Benchmarking on my machine has shown about a 5% improvement in speed when dealing with compiling TypeScript. Still a long way to go, but an improvement. In theory the module name resolution and the fetching of the source files could be broken out as two different ops. This would prevent situations of sending the full source file all the time when actually the module is the same module referenced by multiple modules, but that could be done subsequently to this.
2019-10-02feat: window.onunload (#3023)Bartek Iwańczuk
2019-10-02feat: JSX Support (#3038)Yusuke Sakurai
2019-09-30Support top-level-await in TypeScript (#3024)Ryan Dahl
2019-09-30Use 0.0.0.0 for servers in benchmarks and tests (#3010)Ryan Dahl
2019-09-25Handle uncaught worker errors without panicking (#3019)Kitson Kelly
2019-09-24test: add HTTP_PROXY tests (#2977)Bartek Iwańczuk
2019-09-24Upgrade V8 for top-level-await (#3015)Ryan Dahl
2019-09-24fix: run missing integration tests (#2997)Bartek Iwańczuk
2019-09-20dial/listen API change (#3000)Ryan Dahl
Previously: dial("tcp", "deno.land:80") Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" }) Similarly with listen().
2019-09-19Remove test.py, use cargo test as test frontend (#2967)Ryan Dahl
Fixes #2933
2019-09-19Make `window` compatible with ts 3.6 (#2984)迷渡
2019-09-17Update to TypeScript 3.6.3 (#2969)Kitson Kelly
2019-09-16Move integration tests to //cli/tests/ (#2964)Ryan Dahl
This ensures the deno executable is properly created before running the integration tests. Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/ Towards #2933 Prep for #2955