diff --git a/words/words.js b/words/words.js index 708da6d..f24697a 100644 --- a/words/words.js +++ b/words/words.js @@ -2,12 +2,9 @@ function returnPlus3(a) { return a + 3 } -function reverse(array) { - return array.reverse();; -} function hello(a) { return a === 5 ? "hello!" : "nope" } -module.exports = {returnPlus3, reverse}; \ No newline at end of file +module.exports = {returnPlus3}; \ No newline at end of file diff --git a/words/words.test.js b/words/words.test.js index 8ef1961..7934b86 100644 --- a/words/words.test.js +++ b/words/words.test.js @@ -1,9 +1,6 @@ -const {returnPlus3, reverse, hello} = require('./words'); +const {returnPlus3, hello} = require('./words'); -test("returns the given array reversed", function(){ - expect(reverse([1, 2, 3])).toEqual([3, 2, 1]) -}) -test("returns + 3 of whatever you give it", function(){ - expect(returnPlus3(4)).toBe(7) -}) +// test("returns + 3 of whatever you give it", function(){ +// expect(returnPlus3(4)).toBe(7) +// })