From b0f0de2bc6d67b694e70b5fcaa24b268612be4fb 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'); +});