|
|
|
|
|
by KyleJune
1865 days ago
|
|
There are third party modules for providing many of those things. I created 2 modules for testing. This module has describe/it functions with setup/teardown hooks. It supports nesting test blocks. I think the built in assertion functions are quite good so I didn't bother creating an expect function although there are other third party modules that provide that functionality. https://deno.land/x/test_suite I had difficulty getting sinon to work earlier on so I wrote a similar module in TypeScript for creating spys, stubs, and faking time. https://deno.land/x/mock |
|