diff options
author | 2022-03-17 20:42:28 -0700 | |
---|---|---|
committer | 2022-03-17 20:42:28 -0700 | |
commit | 9737c01058c632f6764f6e6e78404ee97b33f634 (patch) | |
tree | 9486ca5283404f4eb4b3152a63abf89ba3d2c832 /integration/bunjs-only-snippets/reportError.test.js | |
parent | 2a3438186af74d23e16125ca33eba7011fb8bd1f (diff) | |
download | bun-9737c01058c632f6764f6e6e78404ee97b33f634.tar.gz bun-9737c01058c632f6764f6e6e78404ee97b33f634.tar.zst bun-9737c01058c632f6764f6e6e78404ee97b33f634.zip |
[bun.js] Implement `self.reportError`
Diffstat (limited to 'integration/bunjs-only-snippets/reportError.test.js')
-rw-r--r-- | integration/bunjs-only-snippets/reportError.test.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/integration/bunjs-only-snippets/reportError.test.js b/integration/bunjs-only-snippets/reportError.test.js new file mode 100644 index 000000000..ed25bd743 --- /dev/null +++ b/integration/bunjs-only-snippets/reportError.test.js @@ -0,0 +1,5 @@ +import { it } from "bun:test"; + +it("reportError", () => { + reportError(new Error("reportError Test!")); +}); |