mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
c455c28b83
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.
3 lines
73 B
TypeScript
3 lines
73 B
TypeScript
new Promise((resolve, reject) => {
|
|
reject(new Error("rejection"));
|
|
});
|