1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
A modern runtime for JavaScript and TypeScript. https://deno.com/
Find a file
Bartek Iwańczuk 20dad3659c
refactor: preliminary cleanup of Deno.runTests() (#4237)
* refactor: preliminary cleanup of Deno.runTests()

* Change time measurement to use new Date() instead of
  performance.now(). Because there is no guarantee that tests are
  run with "--allow-hr" using new Date() guarantees higher
  precision of 1ms instead of 2ms.

* Support String type filter in "skip" and "only".

* Split "exitOnFail" into "exitOnFail" and "failFast".
  Former tells if "runTests()" should exit with code 1 on test
  failure, while latter tells if "runTests()" should stop
  running tests on first failure.

* Use "defer" to wait for unhandled promise rejection - this bit
  is funky and doesn't seem right, but for now it's just a rewrite
  from using "setTimeout". Intended to be fixed in later commits.

* Remove global "__DENO_TEST_REGISTRY", don't expose list of
  registered tests (to be addressed in follow up commits)

* Remove arbitrary slow test threshold; use uniform coloring
  instead
2020-03-05 11:52:18 +01:00
.github Add clippy to /tools/lint.py (#4132) 2020-02-27 14:30:41 -05:00
cli refactor: preliminary cleanup of Deno.runTests() (#4237) 2020-03-05 11:52:18 +01:00
core Do not convert exceptions to JSON and back (#4214) 2020-03-02 14:20:16 -08:00
deno_typescript Migrate internal bundles to System (#4233) 2020-03-04 14:26:00 +01:00
std Use discord instead of gitter (#4253) 2020-03-04 19:49:51 -05:00
test_plugin assert build success for test plugin (#4223) 2020-03-03 17:09:13 -05:00
third_party@b1103a02e8 upgrade: TypeScript 3.8 (#4100) 2020-02-25 15:33:19 -05:00
tools fix tools/docs.py (#4210) 2020-03-02 16:22:12 +01:00
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 2019-02-07 11:31:49 -05:00
.eslintignore feat: dprint formatter (#3820) 2020-01-29 21:16:48 -05:00
.eslintrc.json Remove tsconfig files - they are not part of build process (#3262) 2019-11-04 18:13:28 -05:00
.gitattributes Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
.gitignore Update .gitignore 2019-12-02 08:05:29 -08:00
.gitmodules Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
.prettierignore Loader: support .wasm imports (#3328) 2019-11-14 08:31:39 -05:00
.prettierrc.json tools/format: format markdown files with prettier 2018-10-04 02:02:23 -07:00
.rustfmt.toml change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00
Cargo.lock v0.35.0 2020-02-28 23:49:49 -05:00
Cargo.toml feat: first pass at native plugins (#3372) 2019-12-05 15:30:20 -05:00
LICENSE change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00
README.md Use discord instead of gitter (#4253) 2020-03-04 19:49:51 -05:00
Releases.md v0.35.0 2020-02-28 23:49:49 -05:00

Deno

A secure runtime for JavaScript and TypeScript.

Build Status

Deno aims to provide a productive and secure scripting environment for the modern programmer. It is built on top of V8, Rust, and TypeScript.

Please read the introduction for more specifics.

Website

Manual

Install

API Reference

Style Guide

Module Repository

Releases

Chat

More links