Feature #13610
Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos@contractors.roche.com>
// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
+
+it("should render the tree", () => {
+ expect(true).toBe(true);
+});
\ No newline at end of file
const projects = [project, project];
const state = projectsReducer(initialState, actions.PROJECTS_SUCCESS({projects, parentItemId: undefined}));
- expect(state).toEqual(projects);
+ expect(state).toEqual([{
+ active: false,
+ open: false,
+ id: "test123",
+ items: [],
+ data: project
+ }, {
+ active: false,
+ open: false,
+ id: "test123",
+ items: [],
+ data: project
+ }
+ ]);
});
});