blob: a0151a1df64ea4ab2e60584a7b7dc07c1b2b4d7d [file] [log] [blame]
const {isString} = require('./coverage_source');
describe('coverage function', () => {
it('should cover one branch', () => {
expect(isString(2)).toBe(false);
});
it('should cover the other branch', () => {
expect(isString('some string')).toBe(true);
});
});