aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/fs.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/fs.test.js')
-rw-r--r--test/bun.js/fs.test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/bun.js/fs.test.js b/test/bun.js/fs.test.js
index 56f98b32c..f78ce13da 100644
--- a/test/bun.js/fs.test.js
+++ b/test/bun.js/fs.test.js
@@ -23,6 +23,8 @@ import {
unlinkSync,
mkdtempSync,
constants,
+ Dirent,
+ Stats,
} from "node:fs";
import { join } from "node:path";
@@ -767,3 +769,12 @@ it("fs.constants", () => {
expect(constants.S_IROTH).toBeDefined();
expect(constants.S_IWOTH).toBeDefined();
});
+
+
+it("fs.Dirent", () => {
+ expect(Dirent).toBeDefined();
+});
+
+it("fs.Stats", () => {
+ expect(Stats).toBeDefined();
+});