diff options
author | 2021-10-03 21:21:54 -0700 | |
---|---|---|
committer | 2021-10-03 21:21:54 -0700 | |
commit | aee263d05004344b924ff75947adc74f50992382 (patch) | |
tree | d1df27677900df6f96a658fb5f1ed6cc8306a7f5 /integration/snapshots/void-shouldnt-delete-call-expressions.js | |
parent | 7ac4abf8a0cc8d2624977cb4352da19f0acc40a6 (diff) | |
download | bun-aee263d05004344b924ff75947adc74f50992382.tar.gz bun-aee263d05004344b924ff75947adc74f50992382.tar.zst bun-aee263d05004344b924ff75947adc74f50992382.zip |
Update linux build instructions
Diffstat (limited to 'integration/snapshots/void-shouldnt-delete-call-expressions.js')
-rw-r--r-- | integration/snapshots/void-shouldnt-delete-call-expressions.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.js b/integration/snapshots/void-shouldnt-delete-call-expressions.js new file mode 100644 index 000000000..3e088c5a7 --- /dev/null +++ b/integration/snapshots/void-shouldnt-delete-call-expressions.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); +} |