diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-02-24 14:27:31 -0300 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-02-24 14:27:31 -0300 |
commit | fec26b211a42b068e677ac5b43080bd4bf59e47a (patch) | |
tree | e5bb685c1370e7e10cc707258fa235d953f426a3 /web-ui/test/unit/common/util.spec.js | |
parent | fb4630207d86d39ea05dd679b2724be87597c518 (diff) |
[#907] Moves tests to directories components
Diffstat (limited to 'web-ui/test/unit/common/util.spec.js')
-rw-r--r-- | web-ui/test/unit/common/util.spec.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/web-ui/test/unit/common/util.spec.js b/web-ui/test/unit/common/util.spec.js deleted file mode 100644 index 805d9dd5..00000000 --- a/web-ui/test/unit/common/util.spec.js +++ /dev/null @@ -1,20 +0,0 @@ -import expect from 'expect'; -import Util from 'src/common/util'; - -describe('Utils', () => { - describe('.hasQueryParameter', () => { - global.window = { - location: { - search: '?auth-error&lng=pt-BR' - } - }; - - it('checks if param included in query parameters', () => { - expect(Util.hasQueryParameter('auth-error')).toBe(true); - }); - - it('checks if param not included in query parameters', () => { - expect(Util.hasQueryParameter('error')).toBe(false); - }); - }); -}); |