Skip to content

Commit

Permalink
refactor: Apply eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Dec 6, 2021
1 parent f950774 commit 580ca82
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/string.test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
import {firstLine, includesIgnoreCase} from './string';
import { firstLine, includesIgnoreCase } from './string';

describe('includesIgnoreCase', () => {
it('finds exact match', () => {
expect(includesIgnoreCase('find me', 'search and find me')).toBeTruthy();
expect(includesIgnoreCase('find it', 'search and find me again')).toBeFalsy();
expect(
includesIgnoreCase('find it', 'search and find me again'),
).toBeFalsy();
expect(includesIgnoreCase('fist part', 'first part')).toBeFalsy();
});

it('finds no match', () => {
expect(includesIgnoreCase('find it', 'search and find me again')).toBeFalsy();
expect(
includesIgnoreCase('find it', 'search and find me again'),
).toBeFalsy();
});

it('finds match', () => {
Expand Down

0 comments on commit 580ca82

Please sign in to comment.