aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/assert_strict.exports.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/assert_strict.exports.js')
-rw-r--r--src/bun.js/assert_strict.exports.js48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/bun.js/assert_strict.exports.js b/src/bun.js/assert_strict.exports.js
new file mode 100644
index 000000000..619986113
--- /dev/null
+++ b/src/bun.js/assert_strict.exports.js
@@ -0,0 +1,48 @@
+var { strict: strictBase } = import.meta.require("node:assert");
+
+export var {
+ fail,
+ AssertionError,
+ ok,
+ equal,
+ notEqual,
+ deepEqual,
+ notDeepEqual,
+ deepStrictEqual,
+ notDeepStrictEqual,
+ strictEqual,
+ notStrictEqual,
+ throws,
+ rejects,
+ doesNotThrow,
+ doesNotReject,
+ ifError,
+ match,
+ doesNotMatch,
+ CallTracker,
+} = strictBase;
+
+const defaultObject = {
+ fail,
+ AssertionError,
+ ok,
+ equal,
+ notEqual,
+ deepEqual,
+ notDeepEqual,
+ deepStrictEqual,
+ notDeepStrictEqual,
+ strictEqual,
+ notStrictEqual,
+ throws,
+ rejects,
+ doesNotThrow,
+ doesNotReject,
+ ifError,
+ match,
+ doesNotMatch,
+ CallTracker,
+ [Symbol.for("CommonJS")]: 0,
+};
+
+export { defaultObject as default, strictBase as strict };