Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
lanchana committed Dec 2, 2021
1 parent 6d22fa7 commit 7d6be24
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
7 changes: 1 addition & 6 deletions __tests__/BottomNotification.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import React from 'react';
import {
cleanup,
fireEvent,
render,
waitFor,
} from '@testing-library/react-native';
import {cleanup, fireEvent, render} from '@testing-library/react-native';
import {Provider} from 'react-redux';
import BottomNotification from '../src/components/modal/bottom-notification/BottomNotification';
import {configureTestStore} from '../src/store';
Expand Down
7 changes: 6 additions & 1 deletion src/components/checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ const Checkbox: React.FC<Props> = ({onPress, checked, disabled, radio}) => {
...baseStyles,
borderColor: 'transparent',
}}>
<Border checked={checked} disabled={disabled} radio={radio} testID="checkboxBorder" />
<Border
checked={checked}
disabled={disabled}
radio={radio}
testID="checkboxBorder"
/>
<Check />
</RoundedCheckbox>
);
Expand Down
1 change: 0 additions & 1 deletion src/store/app/app.actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export const setCurrentRoute = (route: any): AppActionType => ({
payload: route,
});


export const successGenerateAppIdentity = (
network: Network,
identity: AppIdentity,
Expand Down
3 changes: 2 additions & 1 deletion test/setup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import mockRNDeviceInfo from '../node_modules/react-native-device-info/jest/react-native-device-info-mock';

jest.mock('react-native-haptic-feedback', () => {
return {
trigger: jest.fn(),
Expand All @@ -6,7 +8,6 @@ jest.mock('react-native-haptic-feedback', () => {

jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');

import mockRNDeviceInfo from '../node_modules/react-native-device-info/jest/react-native-device-info-mock';
jest.mock('react-native-device-info', () => mockRNDeviceInfo);

jest.mock('react-native/Libraries/Utilities/Platform', () => ({
Expand Down

0 comments on commit 7d6be24

Please sign in to comment.