diff options
author | Aldo Cortesi <aldo@corte.si> | 2017-12-17 10:17:05 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2017-12-17 10:17:05 +1300 |
commit | ac335057a7829e2972ab6af56fa1d977623d5426 (patch) | |
tree | 7ec4accf54780282b542a8ecd7a996bc6a134c1f /web/src | |
parent | f14ec2d8f043f051db45dd36a1d501788c7818e6 (diff) | |
download | mitmproxy-ac335057a7829e2972ab6af56fa1d977623d5426.tar.gz mitmproxy-ac335057a7829e2972ab6af56fa1d977623d5426.tar.bz2 mitmproxy-ac335057a7829e2972ab6af56fa1d977623d5426.zip |
Disable implicit JS test asset generation
The JS test assets depend in a brittle way on the details of the tflow()
utility functions. We shouldn't have to fix JS tests when adjusting these.
Options:
- Manually generate the test assets in a script.
- Define the JS assets without using tflow, so they don't unexpextedly
vary.
Diffstat (limited to 'web/src')
-rw-r--r-- | web/src/js/__tests__/ducks/_tflow.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/__tests__/ducks/_tflow.js b/web/src/js/__tests__/ducks/_tflow.js index 8599200d..44b32342 100644 --- a/web/src/js/__tests__/ducks/_tflow.js +++ b/web/src/js/__tests__/ducks/_tflow.js @@ -45,8 +45,8 @@ export default function(){ "port": 22, "pretty_host": "address", "scheme": "http", - "timestamp_end": 2, - "timestamp_start": 1 + "timestamp_end": null, + "timestamp_start": null }, "response": { "contentHash": "ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d", |