diff options
author | 2023-02-06 23:15:23 -0800 | |
---|---|---|
committer | 2023-02-06 23:15:23 -0800 | |
commit | 153834cf5c98fb1bda1a679154200fed9bbda4b7 (patch) | |
tree | 063acf8621a3828fa5b00b50217847e67c57e4b8 /test/bun.js | |
parent | 6aea31f4fcb7b0b1cfbe1aac43145c87cb09f775 (diff) | |
download | bun-153834cf5c98fb1bda1a679154200fed9bbda4b7.tar.gz bun-153834cf5c98fb1bda1a679154200fed9bbda4b7.tar.zst bun-153834cf5c98fb1bda1a679154200fed9bbda4b7.zip |
Throw on process.binding
Diffstat (limited to 'test/bun.js')
-rw-r--r-- | test/bun.js/process.test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bun.js/process.test.js b/test/bun.js/process.test.js index e5517e7f6..8cc3e6b87 100644 --- a/test/bun.js/process.test.js +++ b/test/bun.js/process.test.js @@ -178,3 +178,7 @@ it("process.emitWarning", () => { it("process.execArgv", () => { expect(process.execArgv instanceof Array).toBe(true); }); + +it("process.binding", () => { + expect(() => process.binding("buffer")).toThrow(); +}); |