mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
0e4d1cb5f9
This commit changes "deno init" subcommand to use "jsr:" specifier for standard library "assert" module. It is unversioned, but we will change it to `@^1` once `@std/assert` release version 1.0. This allows us to start decoupling `deno` and `deno_std` release. The release scripts have been updated to take that into account.
6 lines
147 B
TypeScript
6 lines
147 B
TypeScript
import { assertEquals } from "jsr:@std/assert";
|
|
import { add } from "./main.ts";
|
|
|
|
Deno.test(function addTest() {
|
|
assertEquals(add(2, 3), 5);
|
|
});
|