-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #702 from hms-dbmi-cellenics/cellsets-endpoint-v2
[BIOMAGE-1878] - Add v2 cellsets endpoints
- Loading branch information
Showing
15 changed files
with
235 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 21 additions & 2 deletions
23
src/__test__/redux/actions/cellSets/__snapshots__/loadCellSets.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,30 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`loadCellSets action Dispatches a loaded action when run with the initial state. 1`] = `undefined`; | ||
exports[`loadCellSets action Dispatches a loaded action when run with the initial state. 1`] = ` | ||
Object { | ||
"payload": Object { | ||
"data": Object { | ||
"cellIds": Object {}, | ||
"color": "#ff0000", | ||
"name": "one", | ||
}, | ||
"experimentId": "1234", | ||
}, | ||
"type": "cellSets/loaded", | ||
} | ||
`; | ||
|
||
exports[`loadCellSets action Dispatches a loading action when run after an error condition. 1`] = ` | ||
Object { | ||
"type": "cellSets/loading", | ||
} | ||
`; | ||
|
||
exports[`loadCellSets action Dispatches an error condition if fetch fails 1`] = `undefined`; | ||
exports[`loadCellSets action Dispatches an error condition if fetch fails 1`] = ` | ||
Object { | ||
"payload": Object { | ||
"error": "We couldn't get the list of cell sets.", | ||
}, | ||
"type": "cellSets/error", | ||
} | ||
`; |
10 changes: 10 additions & 0 deletions
10
src/__test__/redux/actions/cellSets/__snapshots__/reorderCellSet.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.