barrelsby
Version:
Automatic TypeScript barrels for your entire code base
13 lines (11 loc) • 420 B
text/typescript
import { getSemicolonCharacter } from './noSemicolon';
describe('options/noSemicolon module has a', () => {
describe('getSemicolonCharacter function that', () => {
it('should correctly return the semicolon', () => {
expect(getSemicolonCharacter(false)).toEqual(';');
});
it('should correctly return the empty string', () => {
expect(getSemicolonCharacter(true)).toEqual('');
});
});
});