diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-05-11 13:02:20 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-05-11 13:02:24 +0200 |
commit | ef589a6b133ac67a7904f8bb2cbec42c96dec914 (patch) | |
tree | d505c567cd80b0681bbf5f7b46b2a25ed591e28a /lib/utils/__tests__/location.js | |
parent | d5c4af337795ca5c3d4e6f516aeaef15d51c4e8c (diff) | |
download | gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.zip gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.tar.gz gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.tar.bz2 |
Switch tests to mocha while keeping jest structure
Diffstat (limited to 'lib/utils/__tests__/location.js')
-rw-r--r-- | lib/utils/__tests__/location.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/utils/__tests__/location.js b/lib/utils/__tests__/location.js index 1d75751..2d01714 100644 --- a/lib/utils/__tests__/location.js +++ b/lib/utils/__tests__/location.js @@ -1,8 +1,6 @@ -jest.autoMockOff(); +var LocationUtils = require('../location'); describe('LocationUtils', function() { - var LocationUtils = require('../location'); - it('should correctly test external location', function() { expect(LocationUtils.isExternal('http://google.fr')).toBe(true); expect(LocationUtils.isExternal('https://google.fr')).toBe(true); |