aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/void-shouldnt-delete-call-expressions.debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/void-shouldnt-delete-call-expressions.debug.js')
-rw-r--r--integration/snapshots/void-shouldnt-delete-call-expressions.debug.js10
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);
+}