aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/__tests__')
-rw-r--r--web/src/js/__tests__/ducks/ui.js2
-rw-r--r--web/src/js/__tests__/ducks/views/main.js1
2 files changed, 3 insertions, 0 deletions
diff --git a/web/src/js/__tests__/ducks/ui.js b/web/src/js/__tests__/ducks/ui.js
index 289192d9..ae2b75b9 100644
--- a/web/src/js/__tests__/ducks/ui.js
+++ b/web/src/js/__tests__/ducks/ui.js
@@ -68,6 +68,8 @@ function createTestStore(state) {
)
}
+
+// TODO: We should not duplicate our reducer logic here.
function makeState(flows, selected) {
return {
flows: {
diff --git a/web/src/js/__tests__/ducks/views/main.js b/web/src/js/__tests__/ducks/views/main.js
index 0edbf68f..0255f6ce 100644
--- a/web/src/js/__tests__/ducks/views/main.js
+++ b/web/src/js/__tests__/ducks/views/main.js
@@ -61,6 +61,7 @@ function createTestStore(defaultState) {
)
}
+// TODO: We should not duplicate our reducer logic here.
function makeState(flows, selected) {
const list = {
data: flows,