-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The library `std/testing/asserts.ts` was deprecated in favour of `std/assert`. Signed-off-by: Miroslav Bajtoš <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|
@@ -458,4 +458,4 @@ assertEquals(true, false); | |
``` | ||
|
||
You can find the API documentation at deno.land website: | ||
[https://deno.land/[email protected]/testing/asserts.ts](https://deno.land/[email protected]/testing/asserts.ts) | ||
[https://deno.land/[email protected]/assert](https://deno.land/[email protected]/assert) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ import { fromFileUrl } from "https://deno.land/[email protected]/path/mod.ts"; | |
import { green } from "https://deno.land/[email protected]/fmt/colors.ts"; | ||
|
||
let assertsPath = await vendor( | ||
`https://deno.land/std@${STD_VERSION}/testing/asserts.ts`, | ||
`https://deno.land/std@${STD_VERSION}/assert/mod.ts`, | ||
"asserts.bundle.js", | ||
); | ||
await patchAssertsBundle(assertsPath); | ||
|