summaryrefslogtreecommitdiffstats
path: root/lib/utils/__tests__/location.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/__tests__/location.js')
-rw-r--r--lib/utils/__tests__/location.js4
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);