We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19d779e commit 797fb53Copy full SHA for 797fb53
1 file changed
docs/integrations/jest.md
@@ -44,7 +44,7 @@ To mock the module for a specific test file, call `jest.mock` at the top of the
44
45
```js
46
jest.mock("@react-native-async-storage/async-storage", () =>
47
- require("@react-native-async-storage/async-storage/jest")
+ require("@react-native-async-storage/async-storage/jest")
48
);
49
```
50
@@ -55,9 +55,9 @@ The mock is a full in-memory implementation of the `AsyncStorage` interface. Add
55
Example usage:
56
57
```ts
58
-import {clearAllMockStorages} from "@react-native-async-storage/async-storage/jest";
+import { clearAllMockStorages } from "@react-native-async-storage/async-storage/jest";
59
60
beforeEach(() => {
61
- clearAllMockStorages();
+ clearAllMockStorages();
62
});
63
0 commit comments