From 8a66f92fe3c785b9b285622152128101659a2bfa Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Wed, 7 Nov 2018 15:21:43 +0200 Subject: [PATCH] Tests for prefix --- test/prefix.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/prefix.test.js b/test/prefix.test.js index df22a6f28..8fe76981c 100644 --- a/test/prefix.test.js +++ b/test/prefix.test.js @@ -4,3 +4,6 @@ const {prefix} = require('./_30s.js'); test('prefix is a Function', () => { expect(prefix).toBeInstanceOf(Function); }); +test('prefix is a Function', () => { + expect(typeof prefix('appearance')).toBe('string'); +});