summaryrefslogtreecommitdiff
path: root/spec/javascripts/something.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/something.js')
-rw-r--r--spec/javascripts/something.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/javascripts/something.js b/spec/javascripts/something.js
new file mode 100644
index 00000000000..1aa9b5ec9a1
--- /dev/null
+++ b/spec/javascripts/something.js
@@ -0,0 +1,7 @@
+export function someFunction() {
+ throw new Error('someFunction should not be called');
+}
+
+export function otherFunction() {
+ someFunction();
+}