amis2/__tests__/stores/__snapshots__/service.test.ts.snap
2019-04-30 11:11:25 +08:00

139 lines
2.8 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`store:ServiceStore 1`] = `
Object {
"action": undefined,
"busying": false,
"checking": false,
"data": Object {},
"dialogData": undefined,
"dialogOpen": false,
"drawerData": undefined,
"drawerOpen": false,
"error": false,
"fetching": false,
"hasRemoteData": false,
"id": "1",
"initializing": false,
"msg": "",
"parentId": "",
"path": "",
"pristine": Object {},
"saving": false,
"schema": null,
"schemaKey": "",
"storeType": "ServiceStore",
"updatedAt": 0,
}
`;
exports[`store:ServiceStore fetchInitData failed 1`] = `
Array [
Object {
"action": undefined,
"busying": false,
"checking": false,
"data": Object {},
"dialogData": undefined,
"dialogOpen": false,
"drawerData": undefined,
"drawerOpen": false,
"error": false,
"fetching": true,
"hasRemoteData": false,
"id": "1",
"initializing": false,
"msg": "",
"parentId": "",
"path": "",
"pristine": Object {},
"saving": false,
"schema": null,
"schemaKey": "",
"storeType": "ServiceStore",
"updatedAt": 0,
},
Object {
"action": undefined,
"busying": false,
"checking": false,
"data": Object {},
"dialogData": undefined,
"dialogOpen": false,
"drawerData": undefined,
"drawerOpen": false,
"error": false,
"fetching": false,
"hasRemoteData": false,
"id": "1",
"initializing": false,
"msg": "",
"parentId": "",
"path": "",
"pristine": Object {},
"saving": false,
"schema": null,
"schemaKey": "",
"storeType": "ServiceStore",
"updatedAt": 0,
},
]
`;
exports[`store:ServiceStore fetchInitData success 1`] = `
Array [
Object {
"action": undefined,
"busying": false,
"checking": false,
"data": Object {},
"dialogData": undefined,
"dialogOpen": false,
"drawerData": undefined,
"drawerOpen": false,
"error": false,
"fetching": true,
"hasRemoteData": false,
"id": "1",
"initializing": false,
"msg": "",
"parentId": "",
"path": "",
"pristine": Object {},
"saving": false,
"schema": null,
"schemaKey": "",
"storeType": "ServiceStore",
},
Object {
"action": undefined,
"busying": false,
"checking": false,
"data": Object {
"a": 1,
"b": 2,
},
"dialogData": undefined,
"dialogOpen": false,
"drawerData": undefined,
"drawerOpen": false,
"error": false,
"fetching": false,
"hasRemoteData": true,
"id": "1",
"initializing": false,
"msg": "undefined",
"parentId": "",
"path": "",
"pristine": Object {
"a": 1,
"b": 2,
},
"saving": false,
"schema": null,
"schemaKey": "",
"storeType": "ServiceStore",
},
]
`;