summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-01-14Fix JSON Modules (#1514)Kitson Kelly
2019-01-12Avoid show confusing lines in gen/bundle/main.js that throws error (#1502)Kevin (Kun) "Kassimo" Qian
2019-01-11Pipe new exception info through into JSErrorRyan Dahl
Adds a new integration test for syntax error.
2019-01-09Native ES modules (#1460)Ryan Dahl
* Native ES modules This is a major refactor of internal compiler. Before: JS and TS both were sent through the typescript compiler where their imports were parsed and handled. Both compiled to AMD JS and finally sent to V8 Now: JS is sent directly into V8. TS is sent through the typescript compiler, but tsc generates ES modules now instead of AMD. This generated JS is then dumped into V8. This should much faster for pure JS code. It may improve TS compilation speed. In the future this allows us to separate TS out of the runtime heap and into its own dedicated snapshot. This will result in a smaller runtime heap, and thus should be faster. Some tests were unfortunately disabled to ease landing this patch: 1. compiler_tests.ts which I intend to bring back in later commits. 2. Some text_encoding_test.ts tests which made the file invalid utf8. See PR for a discussion. Also worth noting that this is necessary to support WASM
2019-01-06Implement console.groupCollapsed (#1452)Yoshiya Hinosawa
This implementation of groupCollapsed is intentionally different from the spec defined by whatwg. See the conversation in #1355 and #1363.
2019-01-06Revert "Split Runner from Compiler" (#1462)Ryan Dahl
This reverts commit 3d03f5b0cb3c513e449f3aaa5d35c493b72f47b4.
2019-01-03Move testing module to deno_std (#1451)Ryan Dahl
Upgrades deno_std submodule.
2019-01-03Add rust binding and test for deno_execute_mod()Ryan Dahl
2018-12-27Lazily create .mime files only with mismatch/no extension (#1417)Kevin (Kun) "Kassimo" Qian
2018-12-27fix(test): fix test of unbuffered_stderrYoshiya Hinosawa
2018-12-23Remove support for extensionless import (#1396)Ryan Dahl
2018-12-22make stdout unbuffered (#1355)Yoshiya Hinosawa
2018-12-21Implement `Body.formData` for fetch (#1393)Kevin (Kun) "Kassimo" Qian
2018-12-14Fix typo in tests (#1342)迷渡
2018-12-11Use default filename for Isolate::execute.Ryan Dahl
2018-12-10Use stderr for exceptions (#1303)Ryan Dahl
2018-12-06Process source maps in Rust instead of JS (#1280)Ryan Dahl
- Improves speed and binary size significantly. - Makes deno_last_exception() output a JSON structure. - Isolate::execute and Isolate::event_loop now return structured, mapped JSError objects on errors. - Removes libdeno functions: libdeno.setGlobalErrorHandler() libdeno.setPromiseRejectHandler() libdeno.setPromiseErrorExaminer() In collaboration with Ryan Dahl.
2018-11-20Split Runner from CompilerKitson Kelly
2018-11-09Ensure global type instances are available.Kitson Kelly
2018-11-05Omit sources from source maps in bundle.Kitson Kelly
2018-11-04Improve integration test harness (#1142)Kitson Kelly
2018-10-30Add ability to load JSON as modules (#1065)Kitson Kelly
2018-10-30Add resources op (#1119)Bartek Iwańczuk
2018-10-28Add application/x-typescript mime type supportKevin (Kun) "Kassimo" Qian
2018-10-24Support CheckJSKitson Kelly
2018-10-23Add node_tcp target to http_benchmark. (#1074)Ryan Dahl
2018-10-23Revert "Support CheckJS"Ryan Dahl
Broken in master. This reverts commit dd230d520b5599c0e51cf30245a567f07b3cfb28.
2018-10-23Support CheckJSKitson Kelly
2018-10-23Enforce media typesKitson Kelly
2018-10-22Improve globals for runtime type libraryKitson Kelly
2018-10-16First pass at http benchmark.Ryan Dahl
2018-10-15Update to TypeScript 3.1 and ts-simple-ast 17 (#980)Kitson Kelly
2018-10-13Remove deno name assumption from testsKevin (Kun) "Kassimo" Qian
2018-10-12Fix promise reject issue (#936)Kevin (Kun) "Kassimo" Qian
2018-10-11Replace globals.d.ts with lib.deno_runtime.d.tsKitson Kelly
2018-10-11Add throughput benchmark (#961)Ryan Dahl
2018-10-09Add redirect follow feature (#934)Kevin (Kun) "Kassimo" Qian
2018-10-08Check thrown type, print String(...) if not instance of error (#939)Kevin (Kun) "Kassimo" Qian
Fixes #935
2018-10-06Add failing test for #919.Kevin (Kun) "Kassimo" Qian
2018-10-05Changed tools/lint.py to lint the entire js and tests directories. (#900)Chris Bystrek
* Changed tools/lint.py to lint the entire js and tests directorys and sub directories, currently it was pointing at tsconfig and would only lint files that were part of js/main.ts or node_modules/typescript/lib/lib.esnext.d.ts and their dependencies * Broke the typescript linting out into separate steps for the main typescript programing and tests. * Fixed linting issues in ts tests.
2018-10-02Guess extensions on extension not provided (#859)Kevin (Kun) "Kassimo" Qian
Fixes #857
2018-09-28Adds basic File I/O and FD table.Ryan Dahl
Adds deno.stdin, deno.stdout, deno.stderr, deno.open(), deno.write(), deno.read(), deno.Reader, deno.Writer, deno.copy(). Fixes #721. tests/cat.ts works.
2018-09-10fbs_util.ts -> dispatch.tsRyan Dahl
And send() -> sendSync()
2018-09-09Better NotFound error handling in CodeFetchRyan Dahl
throwResolutionError was swallowing unrelated errors.
2018-09-06Cleanup public API of DenoCompilerKitson Kelly
2018-09-05Improve module resolution.Ryan Dahl
Windows can't handle ":" in path names, so we use a special directory format .deno/deps/localhost_PORT4545/ to represent hosts with non-default ports. Fixes #645.
2018-09-05Mark APIs at internal and include JSDoc in typesKitson Kelly
2018-09-01Bundle most types into globals.d.ts (#642)Kitson Kelly
2018-08-30Support https imports.Ryan Dahl
Adds hyper-rustls to the build. Use ring for sha1 instead of "ssh1" crate. Fixes #528.
2018-08-28Two-pass module evaluation.Kitson Kelly
Plus changes to tests to accomodate.