1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
denoland-deno/cli/tests/test/test_unresolved_promise.js
Casper Beyer c455c28b83
feat(test): run test modules in parallel (#9815)
This commit adds support for running test in parallel.

Entire test runner functionality has been rewritten
from JavaScript to Rust and a set of ops was added to support reporting in Rust.

A new "--jobs" flag was added to "deno test" that allows to configure 
how many threads will be used. When given no value it defaults to 2.
2021-04-28 20:17:04 +02:00

11 lines
153 B
JavaScript

Deno.test({
name: "unresolved promise",
fn() {
return new Promise((_resolve, _reject) => {});
},
});
Deno.test({
name: "ok",
fn() {},
});