-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: minor docs polish * chore: minor docs polish
- Loading branch information
Showing
13 changed files
with
1,025 additions
and
965 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
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,3 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.1.1.cjs | ||
yarnPath: .yarn/releases/yarn-4.7.0.cjs |
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,5 +1,5 @@ | ||
--- | ||
sidebar_position: 51 | ||
sidebar_position: 55 | ||
--- | ||
|
||
# Integration notes | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
--- | ||
sidebar_position: 80 | ||
sidebar_label: License | ||
--- | ||
|
||
The original module is licensed as MIT, the Universal sign in module has [this license](https://universal-sign-in.com/license). | ||
# License | ||
|
||
The Original module is licensed as MIT, the Universal sign in module has [this license](https://universal-sign-in.com/license). | ||
|
||
Please do get in touch if you have any questions or concerns about the license! |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
sidebar_position: 50 | ||
--- | ||
|
||
# Testing | ||
|
||
## Setting up a mock | ||
|
||
If you use Jest for testing, you may need to mock the functionality of the native module - this is because the native code cannot run in Node environment. | ||
|
||
This library ships with a Jest mock that you can add to the `setupFiles` array in your Jest config. | ||
|
||
By default, the mock behaves as if the calls were successful and returns mock user data. | ||
|
||
```json title="jest.config.js|ts|mjs|cjs|json" | ||
{ | ||
"setupFiles": [ | ||
"./node_modules/@react-native-google-signin/google-signin/jest/build/jest/setup.js" | ||
] | ||
} | ||
``` | ||
|
||
[//]: # '### Writing tests' | ||
[//]: # | ||
[//]: # 'You can use [`@testing-library/react-native`](https://callstack.github.io/react-native-testing-library/) to write tests for React components that use React Native Google Sign In.' |
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