1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/tests
Matt Mastracci 596a2996cf
feat(cli): Add slow test warning (#23874)
By default, uses a 60 second timeout, backing off 2x each time (can be
overridden using the hidden `DENO_SLOW_TEST_TIMEOUT` which we implement
only really for spec testing.

```
Deno.test(async function test() {
  await new Promise(r => setTimeout(r, 130_000));
});
```

```
$ target/debug/deno test /tmp/test_slow.ts 
Check file:///tmp/test_slow.ts
running 1 test from ../../../../../../tmp/test_slow.ts
test ...'test' is running very slowly (1m0s)
'test' is running very slowly (2m0s)
 ok (2m10s)

ok | 1 passed | 0 failed (2m10s)
```

---------

Signed-off-by: Matt Mastracci <matthew@mastracci.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-05-22 08:08:27 -06:00
..
config chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
ffi chore: enable clippy::print_stdout and clippy::print_stderr (#23732) 2024-05-08 22:45:06 -04:00
integration refactor(docs): use @experimental instead of @tags unstable (#23884) 2024-05-22 04:31:51 -07:00
napi chore: enable clippy::print_stdout and clippy::print_stderr (#23732) 2024-05-08 22:45:06 -04:00
node_compat feat(node): buffer isUtf8/isAscii (#23928) 2024-05-21 15:50:59 -07:00
registry fix(lsp): apply import fix to missing declaration code action (#23924) 2024-05-21 21:15:16 +01:00
specs feat(cli): Add slow test warning (#23874) 2024-05-22 08:08:27 -06:00
testdata fix: serve handler error with 0 arguments (#23652) 2024-05-17 18:05:19 +05:30
unit fix(ext/webgpu): Allow depthClearValue to be undefined when depthLoadOp is not "clear" (#23850) 2024-05-20 13:47:04 -07:00
unit_node fix(node): stub findSourceMap for ava (#23899) 2024-05-20 16:42:42 +02:00
util chore: Fix flaky semantic tokens caching test (#23831) 2024-05-15 11:38:45 -07:00
wpt fix(node): seperate worker module cache (#23634) 2024-05-16 07:09:35 +00:00
Cargo.toml feat(serve): support --port 0 to use an open port (#23846) 2024-05-17 05:38:50 +00:00
lib.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests