mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
parent
cd7ed28c36
commit
69d4d88b4f
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ object is passed, the `name` property is used to identify the test. If the asser
|
|||
|
||||
Asserts are exposed in `testing/asserts.ts` module.
|
||||
|
||||
- `equal()` - Deep comparision function, where `actual` and `expected` are
|
||||
- `equal()` - Deep comparison function, where `actual` and `expected` are
|
||||
compared deeply, and if they vary, `equal` returns `false`.
|
||||
- `assert()` - Expects a boolean value, throws if the value is `false`.
|
||||
- `assertEquals()` - Uses the `equal` comparison and throws if the `actual` and
|
||||
|
|
Loading…
Reference in a new issue