mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -05:00
f248050cb4
This change aims to replace all relative import specifiers targeted at `tests/util/std` with mapped ones (using a `deno.json` file). Towards updating the `std` git submodule.
6 lines
170 B
TypeScript
6 lines
170 B
TypeScript
import { addNumbers } from "./foo.ts";
|
|
import { assertEquals } from "@std/assert/mod.ts";
|
|
|
|
Deno.test("addNumbers works", () => {
|
|
assertEquals(addNumbers(1, 2), 3);
|
|
});
|