DenoDDeno
Powered by
DanielduelD
Deno•2y ago•
2 replies
Danielduel

Deno.test with "each" support

I tried to find in docs if something like
https://deno.land/x/test_each@v0.0.2
or jest's https://jestjs.io/docs/api#each
exists in Deno.test
Looks like it is not, if you know that I missed something or there's a common pattern of doing this in Deno.test (like idk... mapping an array into an array of asserts and somehow getting the correct message out - please steer me into the correct direction.
Globals · Jest
In your test files, Jest puts each of these methods and objects into the global environment. You don't have to require or import anything to use them. However, if you prefer explicit imports, you can do import {describe, expect, test} from '@jest/globals'.
Globals · Jest
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno.test without Deno namespace ?
lowlightLlowlight / help
3y ago
In-Source Testing with deno test?
EaiEEai / help
3y ago
Zed Deno Support
KotkoroidKKotkoroid / help
17mo ago