-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Eslint now works on root folder (#453)
* chore: es lint with root folder * update eslint ignore path
- Loading branch information
1 parent
6613fc2
commit 7418688
Showing
17 changed files
with
103 additions
and
97 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import Reactotron from "reactotron-react-native"; | ||
import Reactotron from 'reactotron-react-native'; | ||
|
||
if (__DEV__) { | ||
Reactotron.configure({ | ||
host: "192.168.1.63" | ||
}) // controls connection & communication settings | ||
.useReactNative() // add all built-in react native plugins | ||
.connect(); // let's connect! | ||
Reactotron.configure({ | ||
host: '192.168.1.63' | ||
}) // controls connection & communication settings | ||
.useReactNative() // add all built-in react native plugins | ||
.connect(); // let's connect! | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
module.exports = { | ||
"presets": ["module:metro-react-native-babel-preset"], | ||
"plugins": [ | ||
[ | ||
"rewrite-require", | ||
{ | ||
"aliases": { | ||
"crypto": "react-native-crypto", | ||
"stream": "readable-stream", | ||
"_stream_duplex": "readable-stream/duplex", | ||
"_stream_passthrough": "readable-stream/passthrough", | ||
"_stream_readable": "readable-stream/readable", | ||
"_stream_transform": "readable-stream/transform", | ||
"_stream_writable": "readable-stream/writable", | ||
"@polkadot/wasm-crypto": "@plugnet/wasm-crypto-js", | ||
"@plugnet/util": "@polkadot/util", | ||
"vm": "vm-browserify" | ||
} | ||
} | ||
] | ||
] | ||
} | ||
plugins: [ | ||
[ | ||
'rewrite-require', | ||
{ | ||
aliases: { | ||
'@plugnet/util': '@polkadot/util', | ||
'@polkadot/wasm-crypto': '@plugnet/wasm-crypto-js', | ||
_stream_duplex: 'readable-stream/duplex', | ||
_stream_passthrough: 'readable-stream/passthrough', | ||
_stream_readable: 'readable-stream/readable', | ||
_stream_transform: 'readable-stream/transform', | ||
_stream_writable: 'readable-stream/writable', | ||
crypto: 'react-native-crypto', | ||
stream: 'readable-stream', | ||
vm: 'vm-browserify' | ||
} | ||
} | ||
] | ||
], | ||
presets: ['module:metro-react-native-babel-preset'] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import testIDs from "./testIDs"; | ||
import testIDs from './testIDs'; | ||
|
||
describe('Load test', () => { | ||
it('should have account list screen', async () => { | ||
await expect(element(by.id(testIDs.TacScreen.tacView))).toBeVisible(); | ||
await element(by.id(testIDs.TacScreen.agreePrivacyButton)).tap(); | ||
await element(by.id(testIDs.TacScreen.agreeTacButton)).tap(); | ||
await element(by.id(testIDs.TacScreen.nextButton)).tap(); | ||
await expect(element(by.id(testIDs.AccountListScreen.accountList))).toBeVisible(); | ||
}); | ||
it('should have account list screen', async () => { | ||
await expect(element(by.id(testIDs.TacScreen.tacView))).toBeVisible(); | ||
await element(by.id(testIDs.TacScreen.agreePrivacyButton)).tap(); | ||
await element(by.id(testIDs.TacScreen.agreeTacButton)).tap(); | ||
await element(by.id(testIDs.TacScreen.nextButton)).tap(); | ||
await expect( | ||
element(by.id(testIDs.AccountListScreen.accountList)) | ||
).toBeVisible(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters