Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix unit tests (#377)

* Fix unit tests

* Remove excess lint and prettier checks from gh actions

authored by

Paul Frazee and committed by
GitHub
9d178c7e 70abcc48

+6 -15
-5
.github/workflows/lint.yml
··· 18 18 uses: actions/checkout@v3 19 19 - name: Yarn install 20 20 run: yarn 21 - - name: Lint Reporter 22 - uses: wearerequired/lint-action@v2.2.0 23 - with: 24 - eslint: true 25 - prettier: true 26 21 - name: Typescript & Lint check 27 22 run: yarn lint 28 23 testing:
+5 -6
jest/jestSetup.js
··· 43 43 createResizedImage: jest.fn(), 44 44 })) 45 45 46 - import {View as mockedView} from 'react-native' 47 - jest.mock('react-native-tab-view', () => ({ 48 - ...jest.requireActual('react-native-tab-view'), 49 - TabView: mockedView, 50 - })) 51 - 52 46 jest.mock('@segment/analytics-react-native', () => ({ 53 47 createClient: () => ({ 54 48 add: jest.fn(), ··· 75 69 default: jest.fn(), 76 70 usePermissions: jest.fn(() => [true]), 77 71 })) 72 + 73 + jest.mock('lande', () => ({ 74 + __esModule: true, // this property makes it work 75 + default: jest.fn().mockReturnValue([['eng']]), 76 + }))
+1 -1
package.json
··· 187 187 ], 188 188 "modulePathIgnorePatterns": [ 189 189 "__tests__/.*/__mocks__", 190 - "e2e/.*" 190 + "__e2e__/.*" 191 191 ], 192 192 "coveragePathIgnorePatterns": [ 193 193 "<rootDir>/node_modules/",