From 3ee77a1e62ecb2cf6ed43f50a7dcff8e3e652a99 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 10 Jul 2017 15:26:38 +0300 Subject: Initial karma headless testing skeleton --- test_free_haaretz.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test_free_haaretz.js (limited to 'test_free_haaretz.js') 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)); + }); + }); +}); + -- cgit v1.3.1