mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
A modern runtime for JavaScript and TypeScript.
https://deno.com/
![]() This updates this example code to follow the new test running conventions. The code as is, when ran produces the following output: ``` ➜ dencro git:(master) ✗ deno test Compile file:///Users/hswolff/Sites/dencro/test.ts running 2 tests OK oneTest (2.00ms) OK t2 (0.00ms) test result: OK 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (2.00ms) running 2 tests OK oneTest (0.00ms) OK t2 (0.00ms) test result: OK 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (0.00ms) ➜ dencro git:(master) ✗ ``` Removing `await Deno.runTests();` just causes the tests to run once. |
||
---|---|---|
.github | ||
cli | ||
core | ||
deno_typescript | ||
std | ||
test_plugin | ||
third_party@b1103a02e8 | ||
tools | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.prettierignore | ||
.prettierrc.json | ||
.rustfmt.toml | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
Releases.md |
Deno
A secure runtime for JavaScript and TypeScript.
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.