Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo committed Aug 24, 2022
1 parent f5aaa17 commit cee34bc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Libraries/LogBox/__tests__/LogBox-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,9 @@ describe('LogBox', () => {
it('`isIgnoredLog` returns true for ignored log', () => {
jest.unmock('../Data/LogBoxData');
LogBox.ignoreLogs(['ignoreMe']);
expect(LogBox.isIgnoredLog('ignoreMe: message', 'another argument')).toBe(true);
expect(LogBox.isIgnoredLog('ignoreMe: message', 'another argument')).toBe(
true,
);
});

it('`isIgnoredLog` returns true for regexp based ignored log', () => {
Expand All @@ -398,7 +400,6 @@ describe('LogBox', () => {
expect(LogBox.isIgnoredLog('ignore123Me')).toBe(true);
});


it('`isIgnoredLog` returns true for any messages when `ignoreAllLogs` was called', () => {
jest.unmock('../Data/LogBoxData');
LogBox.ignoreAllLogs();
Expand All @@ -408,7 +409,9 @@ describe('LogBox', () => {
it('`isIgnoredLog` returns false for non-matched ignored log', () => {
jest.unmock('../Data/LogBoxData');
LogBox.ignoreLogs(['ignoreMe']);
expect(LogBox.isIgnoredLog('showMe: message', 'another argument')).toBe(false);
expect(LogBox.isIgnoredLog('showMe: message', 'another argument')).toBe(
false,
);
});

it('`isIgnoredLog` returns false when throwing exception from log parser.', () => {
Expand Down

0 comments on commit cee34bc

Please sign in to comment.