summaryrefslogtreecommitdiff
path: root/spec/javascripts/something_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/something_spec.js')
-rw-r--r--spec/javascripts/something_spec.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/javascripts/something_spec.js b/spec/javascripts/something_spec.js
new file mode 100644
index 00000000000..0868dd90a0f
--- /dev/null
+++ b/spec/javascripts/something_spec.js
@@ -0,0 +1,8 @@
+import * as something from './something';
+
+fdescribe('something', () => {
+ it('does not call someFunction', () => {
+ spyOn(something, 'someFunction').and.callFake(() => console.log('someFunction was not called! yay!'));
+ something.otherFunction();
+ });
+});