aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/ducks/tutils.js
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-07-20 15:39:43 +0800
committerMatthew Shao <me@matshao.com>2017-07-20 15:39:43 +0800
commitf465f08c9ac302007b3aec6709a8e82d63c7ad65 (patch)
treef50a0700ba88ac91f1e82fafeb96c65a0e7f4fb4 /web/src/js/__tests__/ducks/tutils.js
parentcbf5db9a4ff77440276ca6bb4d395cc5bdee30ad (diff)
downloadmitmproxy-f465f08c9ac302007b3aec6709a8e82d63c7ad65.tar.gz
mitmproxy-f465f08c9ac302007b3aec6709a8e82d63c7ad65.tar.bz2
mitmproxy-f465f08c9ac302007b3aec6709a8e82d63c7ad65.zip
[web] Minor fix and update tests.
Diffstat (limited to 'web/src/js/__tests__/ducks/tutils.js')
-rw-r--r--web/src/js/__tests__/ducks/tutils.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/src/js/__tests__/ducks/tutils.js b/web/src/js/__tests__/ducks/tutils.js
index a3e9c168..22240448 100644
--- a/web/src/js/__tests__/ducks/tutils.js
+++ b/web/src/js/__tests__/ducks/tutils.js
@@ -35,6 +35,12 @@ export function TStore(){
},
modal: {
activeModal: undefined
+ },
+ optionsEditor: {
+ booleanOption: { isUpdating: true, error: false },
+ strOption: { error: true },
+ intOption: {},
+ choiceOption: {},
}
},
settings: {