Merged changes

This commit is contained in:
Philipp Czora
2018-07-17 16:31:42 +02:00
4 changed files with 51 additions and 33 deletions

View File

@@ -220,8 +220,8 @@ describe("fetch tests", () => {
describe("reducer tests", () => {
test("users request", () => {
var newState = reducer({}, { type: FETCH_USERS });
expect(newState.loading).toBeTruthy();
expect(newState.error).toBeNull();
expect(newState.users.loading).toBeTruthy();
expect(newState.users.error).toBeNull();
});
test("fetch users successful", () => {