Skip to content

Commit

Permalink
chore(wallet-mobile): lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed Oct 1, 2024
1 parent 9955858 commit d2213fc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
1 change: 1 addition & 0 deletions apps/wallet/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ module.exports = {
},
],
},
ignorePatterns: ['node_modules/', 'android/', 'ios/', 'coverage/'],
}
11 changes: 11 additions & 0 deletions apps/wallet/App.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import * as React from 'react'
import {it} from '@jest/globals'
import {render} from '@testing-library/react-native'

import {App} from './App'

it('renders correctly', () => {
const {getByTestId} = render(<App />)
const app = getByTestId('app')
expect(app).toBeDefined()
})
2 changes: 1 addition & 1 deletion apps/wallet/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Text, View} from 'react-native'

export function App() {
return (
<View>
<View testID="app">
<Text>Wallet</Text>
</View>
)
Expand Down
17 changes: 0 additions & 17 deletions apps/wallet/__tests__/App.test.tsx

This file was deleted.

1 change: 1 addition & 0 deletions apps/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"pod-install": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install",
"build": "yarn lint",
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
Expand Down

0 comments on commit d2213fc

Please sign in to comment.