1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/std/node/assert.ts
2020-09-14 16:22:07 +02:00

24 lines
574 B
TypeScript

import {
assertEquals,
assertNotEquals,
assertStrictEquals,
assertNotStrictEquals,
assertMatch,
assertThrows,
} from "../testing/asserts.ts";
export { AssertionError } from "./assertion_error.ts";
export {
assert as default,
assert as ok,
assert,
fail,
} from "../testing/asserts.ts";
export const deepStrictEqual = assertEquals;
export const notDeepStrictEqual = assertNotEquals;
export const strictEqual = assertStrictEquals;
export const notStrictEqual = assertNotStrictEquals;
export const match = assertMatch;
export const throws = assertThrows;