summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--std/node/assert.ts15
1 files changed, 15 insertions, 0 deletions
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;