Commit 0ebd6514 authored by nuwe1's avatar nuwe1

update tests

parent b2513ea2
......@@ -194,18 +194,16 @@ describe('boardsStore', () => {
let list;
beforeEach(() => {
list = new List(listObj);
list = new List(listObj);
setupDefaultResponses();
});
it('makes a request to save a list', () => {
const expectedResponse = expect.objectContaining({ issues: [createTestIssue()] });
expect(list.id).toBe(listObj.id);
expect(list.position).toBe(listObj.position);
return expect(boardsStore.saveList(list)).resolves.toEqual(expectedResponse);
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment