refactor with ternary and small example
This commit is contained in:
6
test/dig/dig.test.js
Normal file
6
test/dig/dig.test.js
Normal file
@ -0,0 +1,6 @@
|
||||
const expect = require('expect');
|
||||
const dig = require('./dig.js');
|
||||
|
||||
test('dig is a Function', () => {
|
||||
expect(dig).toBeInstanceOf(Function);
|
||||
});
|
||||
Reference in New Issue
Block a user