diff options
author | Matthew Shao <me@matshao.com> | 2017-05-19 09:49:10 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-05-19 09:50:12 +0800 |
commit | 5df0ddf358367dcd37c934798464ad91f3c7bdf8 (patch) | |
tree | ac634d40e24f489d87b6b5a4b59e53bd1809ff97 /web/src/js/__tests__/ducks/tutils.js | |
parent | 50c07034249a07f25172230b689c4c6da1b63c2d (diff) | |
download | mitmproxy-5df0ddf358367dcd37c934798464ad91f3c7bdf8.tar.gz mitmproxy-5df0ddf358367dcd37c934798464ad91f3c7bdf8.tar.bz2 mitmproxy-5df0ddf358367dcd37c934798464ad91f3c7bdf8.zip |
[web] Updates test to use the new _tflow.js.
Diffstat (limited to 'web/src/js/__tests__/ducks/tutils.js')
-rw-r--r-- | web/src/js/__tests__/ducks/tutils.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/web/src/js/__tests__/ducks/tutils.js b/web/src/js/__tests__/ducks/tutils.js index f140222d..6ae7f080 100644 --- a/web/src/js/__tests__/ducks/tutils.js +++ b/web/src/js/__tests__/ducks/tutils.js @@ -7,30 +7,3 @@ export function createStore(parts) { applyMiddleware(...[thunk]) ) } - -export function TFlow(intercepted=false, marked=false, modified=false) { - return { - intercepted , - marked, - modified, - id: "foo", - request: { - scheme: 'http', - is_replay: true, - method: 'GET', - contentLength: 100 - }, - response: { - status_code: 200, - headers: [["Content-Type", 'text/html']], - timestamp_end: 200 - }, - error: { - msg: '' - }, - server_conn: { - timestamp_start: 100 - }, - type: 'http' - } -} |