diff options
Diffstat (limited to 'test/snapshots/void-shouldnt-delete-call-expressions.js')
-rw-r--r-- | test/snapshots/void-shouldnt-delete-call-expressions.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/snapshots/void-shouldnt-delete-call-expressions.js b/test/snapshots/void-shouldnt-delete-call-expressions.js new file mode 100644 index 000000000..5620ead56 --- /dev/null +++ b/test/snapshots/void-shouldnt-delete-call-expressions.js @@ -0,0 +1,12 @@ +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); +} + +//# sourceMappingURL=http://localhost:8080/void-shouldnt-delete-call-expressions.js.map |