summaryrefslogtreecommitdiff
path: root/test_free_haaretz.js
diff options
context:
space:
mode:
Diffstat (limited to 'test_free_haaretz.js')
-rw-r--r--test_free_haaretz.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test_free_haaretz.js b/test_free_haaretz.js
new file mode 100644
index 0000000..08e5e46
--- /dev/null
+++ b/test_free_haaretz.js
@@ -0,0 +1,8 @@
+describe('Array', () => {
+ describe('#indexOf()', () => {
+ it('should return -1 when the value is not present', () => {
+ assert.equal(-1, [1,2,3].indexOf(4));
+ });
+ });
+});
+