diff options
author | Harry Wolff <hswolff@users.noreply.github.com> | 2020-03-07 22:28:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 22:28:30 -0500 |
commit | 8d1ba3552fbbcae9284fdab63cc6613045684d01 (patch) | |
tree | 8293e5943747bf44871acdbb4e936ed7a588bd80 /std/examples/gist.ts | |
parent | 18076db8f004d70340a7a4317e0ac14c2ca56dee (diff) |
Update manual to reflect newer test running (#4278)
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.
Diffstat (limited to 'std/examples/gist.ts')
0 files changed, 0 insertions, 0 deletions