Skip to content

Commit d252c7e

Browse files
committed
TASK: Update a failing test snapshot
1 parent 8c0ed99 commit d252c7e

File tree

1 file changed

+10
-6
lines changed
  • packages/create-react-microservice-scaffold/src/packages/my-fancy-ui/src/store/modules/comments/__snapshots__

1 file changed

+10
-6
lines changed

packages/create-react-microservice-scaffold/src/packages/my-fancy-ui/src/store/modules/comments/__snapshots__/index.spec.js.snap

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33
exports[`reducer() reducer()[actionTypes.SET_COMMENTS] should transform and set the api response into the "byId" state structure 1`] = `
44
Object {
55
"commentsById": Object {
6-
"bar": Object {
7-
"id": "bar",
8-
"name": "Bar",
9-
},
10-
"foo": Object {
11-
"id": "foo",
6+
"1": Object {
7+
"body": "fooBody",
8+
"email": "fooEmail",
9+
"id": 1,
1210
"name": "Foo",
1311
},
12+
"2": Object {
13+
"body": "barBody",
14+
"email": "barEmail",
15+
"id": 2,
16+
"name": "Bar",
17+
},
1418
},
1519
}
1620
`;

0 commit comments

Comments
 (0)