diff options
Diffstat (limited to 'part4/blog/tests')
-rw-r--r-- | part4/blog/tests/list_helper.test.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/part4/blog/tests/list_helper.test.js b/part4/blog/tests/list_helper.test.js new file mode 100644 index 0000000..e10f374 --- /dev/null +++ b/part4/blog/tests/list_helper.test.js @@ -0,0 +1,8 @@ +const listHelper = require('../utils/list_helper.js') + +test('dummy returns one', () => { + const blogs = [] + + const result = listHelper.dummy(blogs) + expect(result).toBe(1) +}) |