Skip to content

Commit

Permalink
feat: upgrade deno_std to v0.214.0 (#479)
Browse files Browse the repository at this point in the history
* feat: upgrade deno_std to v0.214.0

* feat: upgrade deno std assertions

The library `std/testing/asserts.ts` was deprecated in favour of
`std/assert`.

---------

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos authored Feb 6, 2024
1 parent 551e307 commit 107d7c5
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 36 deletions.
4 changes: 2 additions & 2 deletions docs/building-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ import "./test/user.test.js";
You can use most assertion libraries that are compatible with browsers and Deno, for example
[Chai](https://www.chaijs.com).

Zinnia provides a built-in assertion library based on Deno's `std/testing/asserts.ts`.
Zinnia provides a built-in assertion library based on Deno's `std/assert`.

Example usage:

Expand All @@ -458,4 +458,4 @@ assertEquals(true, false);
```

You can find the API documentation at deno.land website:
[https://deno.land/std@0.207.0/testing/asserts.ts](https://deno.land/std@0.207.0/testing/asserts.ts)
[https://deno.land/std@0.214.0/assert](https://deno.land/std@0.214.0/assert)
Loading

0 comments on commit 107d7c5

Please sign in to comment.