From 5df0ddf358367dcd37c934798464ad91f3c7bdf8 Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Fri, 19 May 2017 09:49:10 +0800 Subject: [web] Updates test to use the new _tflow.js. --- web/src/js/__tests__/ducks/tutils.js | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'web/src/js/__tests__/ducks/tutils.js') 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' - } -} -- cgit v1.2.3