Add tests for pipeLog and levenshtein

This commit is contained in:
Angelos Chalaris
2018-10-26 21:03:11 +03:00
parent 6ec8526a60
commit 7e1a7d5e84
2 changed files with 12 additions and 0 deletions

View File

@ -4,3 +4,6 @@ const {pipeLog} = require('./_30s.js');
test('pipeLog is a Function', () => {
expect(pipeLog).toBeInstanceOf(Function);
});
test('pipeLog returns the given value', () => {
expect(pipeLog('hi')).toBe('hi');
});