profile.spec.js.snap 798 Bytes
Newer Older
1
2
// Jest Snapshot v1, https://goo.gl/fbAQLP

Gijs Hendriksen's avatar
Gijs Hendriksen committed
3
exports[`profile actions should create an action for a failed profile load 1`] = `
4
5
6
7
8
Object {
  "type": "PROFILE_FAILURE",
}
`;

Gijs Hendriksen's avatar
Gijs Hendriksen committed
9
exports[`profile actions should create an action for a successful profile load 1`] = `
10
Object {
11
  "payload": "profile",
12
13
14
15
  "type": "PROFILE_SUCCESS",
}
`;

Gijs Hendriksen's avatar
Gijs Hendriksen committed
16
exports[`profile actions should create an action for profile fetch 1`] = `
17
18
19
20
21
Object {
  "type": "PROFILE_FETCHING",
}
`;

Gijs Hendriksen's avatar
Gijs Hendriksen committed
22
exports[`profile actions should create an action to load a profile 1`] = `
23
24
Object {
  "payload": Object {
Gijs Hendriksen's avatar
Gijs Hendriksen committed
25
    "member": 1,
26
27
28
29
30
  },
  "type": "PROFILE_PROFILE",
}
`;

Gijs Hendriksen's avatar
Gijs Hendriksen committed
31
exports[`profile actions should create an action to load the user's own profile as default 1`] = `
32
33
Object {
  "payload": Object {
Gijs Hendriksen's avatar
Gijs Hendriksen committed
34
    "member": "me",
35
36
37
38
  },
  "type": "PROFILE_PROFILE",
}
`;