We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5e6f72 commit 0cfde6bCopy full SHA for 0cfde6b
example/Basic/__mocks__/index.js
@@ -1,6 +1,6 @@
1
2
export default {
3
- '/api/users': async (options) => {
+ '/api/users': (options) => {
4
const all = [
5
{
6
name: 'John',
example/WithMockJs/__mocks__/index.js
@@ -1,7 +1,7 @@
import { Mock } from 'react-native-fetch-mock';
- '/api/users/mockjs': async (options) => {
+ '/api/users/mockjs': (options) => {
const all = Mock.mock({
'list|1-10': [{
7
'id|+1': 1,
0 commit comments