aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/utilsSpec.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-10-26 16:34:24 +0200
committerMaximilian Hils <git@maximilianhils.com>2017-10-26 16:34:24 +0200
commit9d514330cad64e589987b5e539809ae95d14e137 (patch)
tree36a9f99eac2f97adec453356b22e716c24a13d72 /web/src/js/__tests__/utilsSpec.js
parentc2401e35f4483e68116b8e90bb58b70659ace682 (diff)
downloadmitmproxy-9d514330cad64e589987b5e539809ae95d14e137.tar.gz
mitmproxy-9d514330cad64e589987b5e539809ae95d14e137.tar.bz2
mitmproxy-9d514330cad64e589987b5e539809ae95d14e137.zip
[web] adjust tests
Diffstat (limited to 'web/src/js/__tests__/utilsSpec.js')
-rw-r--r--web/src/js/__tests__/utilsSpec.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/src/js/__tests__/utilsSpec.js b/web/src/js/__tests__/utilsSpec.js
index 9a1a0750..d0beca14 100644
--- a/web/src/js/__tests__/utilsSpec.js
+++ b/web/src/js/__tests__/utilsSpec.js
@@ -83,11 +83,6 @@ describe('pure', () => {
expect(utils.pure(tFunc).displayName).toEqual('tFunc')
})
- it('should suggest when should component update', () => {
- expect(f.shouldComponentUpdate('foo')).toBeTruthy()
- expect(f.shouldComponentUpdate('bar')).toBeFalsy()
- })
-
it('should render properties', () => {
expect(f.render()).toEqual(tFunc('bar'))
})