From b21a7b0fd0969c8697833d549809bdd1c9edc93b Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Wed, 19 Aug 2020 04:15:59 +1000 Subject: feat(std/node): add basic asserts (#7091) --- std/node/assert.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 std/node/assert.ts (limited to 'std') diff --git a/std/node/assert.ts b/std/node/assert.ts new file mode 100644 index 000000000..97721211f --- /dev/null +++ b/std/node/assert.ts @@ -0,0 +1,15 @@ +import { + assertEquals, + assertNotEquals, + assertStrictEquals, + assertMatch, + assertThrows, +} from "../testing/asserts.ts"; + +export { assert, fail } from "../testing/asserts.ts"; + +export const equal = assertEquals; +export const notEqual = assertNotEquals; +export const strictEqual = assertStrictEquals; +export const match = assertMatch; +export const throws = assertThrows; -- cgit v1.2.3