1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
This commit is contained in:
champ 2020-06-26 00:35:34 +08:00 committed by GitHub
parent 6f09b8de41
commit 1fcb71b355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,12 +18,11 @@ Deno.test("hello world #1", () => {
// Fully fledged test definition, longer form, but configurable (see below)
Deno.test({
name: "hello world #2",
fn() => {
fn: () => {
const x = 1 + 2;
assertEquals(x, 3);
}
},
});
```
## Assertions