summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-06-24refactor: use Path/PathBuf in deno dir (#2559)Bartek Iwańczuk
2019-06-20Fix silent failure of WebAssembly.instantiate() (#2548)Ryan Dahl
By making WASM compilation synchronous. We'll have to do more work to make it properly async.
2019-06-19Combine CLI Errors (#2487)Kitson Kelly
2019-06-18fix: use Loader::resolve in op_fetch_module_meta_data (#2519)Bartek Iwańczuk
2019-06-11Add --seed for setting RNG seed (#2483)Matt Harrison
2019-06-09feat: Import maps (#2360)Bartek Iwańczuk
2019-06-04Handle compiler diagnostics in Rust (#2445)Kitson Kelly
2019-06-03Compiler exit before emit if preEmitDiagnostics found (#2441)Ryan Dahl
2019-05-29TS compiler refactorRyan Dahl
* Compiler no longer has its own Tokio runtime. Compiler handles one message and then exits. * Uses the simpler ts.CompilerHost interface instead of ts.LanguageServiceHost. * avoids recompiling the same module by introducing a hacky but simple `hashset<string>` that stores the module names that have been already compiled. * Removes the CompilerConfig op. * Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It is not useful as we don't even have tests. * Turns off checkJs because it causes fmt_test to die with OOM.
2019-05-23Rename --allow-high-precision to --allow-hrtime (#2398)Ryan Dahl
2019-05-14Rename HTTP benchmarks (#2350)Ryan Dahl
2019-05-11Add progress bar (#2309)Ryan Dahl
2019-05-03fix: deno version panic (#2286)Bartek Iwańczuk
2019-05-03add "deno run" subcommand (#2215)Bartek Iwańczuk
2019-05-03feat(cli cmd): deno xeval (#2260)Kevin (Kun) "Kassimo" Qian
2019-05-03feat: support .mjs extension resolution (#2283)Kevin (Kun) "Kassimo" Qian
Removed `extmap` and added .mjs entry in `map_file_extension`. The assert in the compiler does not need to be updated, since it is resolving from the compiled cache instead of elsewhere (notice the .map is asserted next to it)
2019-05-03Fix: deno --v8-options does not print v8 options (#2277)Bartek Iwańczuk
2019-04-29Add support for custom tsconfig.json (#2089)Kitson Kelly
Use `--config`
2019-04-21Fix eslint warnings (#2151)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21Refactor CLI entry point (#2157)Bartek Iwańczuk
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch"
2019-04-17Fix flaky tests (#2139)Ryan Dahl
2019-04-16Implement async module loading in CLI (#2084)Ryan Dahl
2019-04-13Add deno eval subcommand (#2102)Bartek Iwańczuk
2019-04-08Allow high precision performance.now() (#1977)Vincent LE GOFF
2019-04-07Refactor CLI flag parsing (#2025)Bartek Iwańczuk
2019-04-05Add worker benchmarks (#2059)andy finch
2019-04-04Non-fatal compile_sync failures (#2039)andy finch
And model worker resources as Stream
2019-04-01Follow redirect location as new referrers for nested module imports (#2031)Kevin (Kun) "Kassimo" Qian
Fixes #1742 Fixes #2021
2019-04-01Add web worker JS API (#1993)andy finch
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
2019-03-28Merge the --recompile and --reload flags (#2003)Ryan Dahl
2019-03-27Fix error when JS is executed with --recompile (#2007)Ryan Dahl
test case from @afinch7
2019-03-18Integrate //core into existing code baseRyan Dahl
This disables a few tests which are broken still: - tests/error_004_missing_module.test - tests/error_005_missing_dynamic_import.test - tests/error_006_import_ext_failure.test - repl_test test_set_timeout - repl_test test_async_op - repl_test test_set_timeout_interlaced - all of permission_prompt_test
2019-03-09Migrate from tslint to eslint for linting (#1905)Kitson Kelly
2019-03-07Remove 'deno' builtin module (#1895)Kitson Kelly
2019-03-06Upgrade deno_std (#1892)Ryan Dahl
A major API change was that asserts are imported from testing/asserts.ts now rather than testing/mod.ts and assertEqual as renamed to assertEquals to conform to what is most common in JavaScript.
2019-03-06Replace deno.land/x/std with deno.land/std (#1890)Andy Hayden
2019-02-26Add import.meta.main (#1835)Bartek Iwańczuk
2019-02-25Fix console.table display of Map and move tests to unit test (#1839)Kevin (Kun) "Kassimo" Qian
2019-02-18Add window.locationRyan Dahl
2019-02-18Rationalise compiler ops (#1740)Kitson Kelly
2019-02-15Add execPath function (#1743)Dmitry Sharshakov
2019-02-15Module dep pretty printing in --infoGreg Altman
2019-02-15Remove unnecessary tests/021_info_flag_setup.testRyan Dahl
2019-02-15Fix behavior for extensionless files with .mime file (#1779)Kevin (Kun) "Kassimo" Qian
2019-02-12Add Deno global namespace (#1748)Kitson Kelly
Resolves #1705 This PR adds the Deno APIs as a global namespace named `Deno`. For backwards compatibility, the ability to `import * from "deno"` is preserved. I have tried to convert every test and internal code the references the module to use the namespace instead, but because I didn't break compatibility I am not sure. On the REPL, `deno` no longer exists, replaced only with `Deno` to align with the regular runtime. The runtime type library includes both the namespace and module. This means it duplicates the whole type information. When we remove the functionality from the runtime, it will be a one line change to the library generator to remove the module definition from the type library. I marked a `TODO` in a couple places where to remove the `"deno"` module, but there are additional places I know I didn't mark.
2019-02-08Adds deno.noColor (#1716)Ryan Dahl
2019-02-08Add deps to --info output. (#1720)Ryan Dahl
Move module stuff into its own file.
2019-02-08Add --allow-read (#1689)Dmitry Sharshakov
Co-authored-by: Greg Altman <g.s.altman@gmail.com>
2019-02-07Color exceptions (#1698)Ryan Dahl
2019-02-05Add WebAssembly to runtime library (#1677)Kitson Kelly
This also modifies the `ts_library_builder` to support inlining assets. Includes integration tests from @sh7dm