diff options
author | 2022-09-23 09:03:51 -0700 | |
---|---|---|
committer | 2022-09-25 13:14:23 -0700 | |
commit | ffde9f7842e6e7dbc9c4120570f0c534b173852e (patch) | |
tree | ded965e4193c89e0068dedb4ddfe19e27becb319 /test/snapshots/caught-require.debug.js | |
parent | 281950978653cc8eda4f72eee0fe4938039f860f (diff) | |
download | bun-ffde9f7842e6e7dbc9c4120570f0c534b173852e.tar.gz bun-ffde9f7842e6e7dbc9c4120570f0c534b173852e.tar.zst bun-ffde9f7842e6e7dbc9c4120570f0c534b173852e.zip |
:camera:
Diffstat (limited to 'test/snapshots/caught-require.debug.js')
-rw-r--r-- | test/snapshots/caught-require.debug.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/snapshots/caught-require.debug.js b/test/snapshots/caught-require.debug.js index 73608f8e3..7c356a21d 100644 --- a/test/snapshots/caught-require.debug.js +++ b/test/snapshots/caught-require.debug.js @@ -1,12 +1,12 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; +var this_package_should_not_exist_f335_0 = (() => ({})); +var this_package_should_not_exist_f335_1 = (() => ({})); try { - require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )()); - + require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )()); } catch (exception) { } - try { await import("this-package-should-not-exist"); } catch (exception) { @@ -16,7 +16,7 @@ import("this-package-should-not-exist").then(() => { }); export async function test() { try { - require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )()); + require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )()); } catch (exception) { } try { |