Add tests for pipeLog and levenshtein

This commit is contained in:
Angelos Chalaris
2018-10-26 21:03:11 +03:00
parent d98e290f24
commit d1f983c57f
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');
});