diff options
author | 2021-09-30 22:37:46 -0700 | |
---|---|---|
committer | 2021-09-30 22:37:46 -0700 | |
commit | d47419f4711c562e4b4b1642406cb29e326201c2 (patch) | |
tree | 78fdd39e536d13da5a4f35ff60138a1c2d0a8b33 /integration/snapshots/void-shouldnt-delete-call-expressions.debug.js | |
parent | 367f9c96740c4c4a9f717eb80b50e40bfc0e88af (diff) | |
download | bun-d47419f4711c562e4b4b1642406cb29e326201c2.tar.gz bun-d47419f4711c562e4b4b1642406cb29e326201c2.tar.zst bun-d47419f4711c562e4b4b1642406cb29e326201c2.zip |
Snapshots
Diffstat (limited to 'integration/snapshots/void-shouldnt-delete-call-expressions.debug.js')
-rw-r--r-- | integration/snapshots/void-shouldnt-delete-call-expressions.debug.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.debug.js b/integration/snapshots/void-shouldnt-delete-call-expressions.debug.js new file mode 100644 index 000000000..3e088c5a7 --- /dev/null +++ b/integration/snapshots/void-shouldnt-delete-call-expressions.debug.js @@ -0,0 +1,10 @@ +var was_called = false; +function thisShouldBeCalled() { + was_called = true; +} +thisShouldBeCalled(); +export function test() { + if (!was_called) + throw new Error("Expected thisShouldBeCalled to be called"); + return testDone(import.meta.url); +} |