10 lines
266 B
JavaScript
10 lines
266 B
JavaScript
const expect = require('expect');
|
|
const {isDivisible} = require('./_30s.js');
|
|
|
|
test('isDivisible is a Function', () => {
|
|
expect(isDivisible).toBeInstanceOf(Function);
|
|
});
|
|
test('The number 6 is divisible by 3', () => {
|
|
expect(isDivisible(6, 3)).toBeTruthy();
|
|
});
|