diff options
| author | Yuval Adam <_@yuv.al> | 2017-07-10 15:26:38 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-07-10 15:26:38 +0300 |
| commit | 872d7d35dd3bac58da25aaa2ba2b23a00212456c (patch) | |
| tree | 58317dc94efddae8e5c4854270754143dca6c871 /test_free_haaretz.js | |
| parent | 8f8272db5880b59ce96be0ad1372a793c6af448b (diff) | |
Initial karma headless testing skeleton
Diffstat (limited to 'test_free_haaretz.js')
| -rw-r--r-- | test_free_haaretz.js | 8 |
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)); + }); + }); +}); + |
