aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/ducks
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-05-19 09:49:10 +0800
committerMatthew Shao <me@matshao.com>2017-05-19 09:50:12 +0800
commit5df0ddf358367dcd37c934798464ad91f3c7bdf8 (patch)
treeac634d40e24f489d87b6b5a4b59e53bd1809ff97 /web/src/js/__tests__/ducks
parent50c07034249a07f25172230b689c4c6da1b63c2d (diff)
downloadmitmproxy-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')
-rw-r--r--web/src/js/__tests__/ducks/tutils.js27
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'
- }
-}