From 4aeb9fa786014fd0418327a825184bc37dba75b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86gir=20=C3=96rn=20S=C3=ADmonarson?= Date: Fri, 8 Feb 2019 16:11:51 +0000 Subject: [PATCH] Fix Jest tests fail - SecurityError This closes #1424 by setting jest testURL to localhost --- template/test/unit/jest.conf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/template/test/unit/jest.conf.js b/template/test/unit/jest.conf.js index c524e9d7bd..672f9cf354 100644 --- a/template/test/unit/jest.conf.js +++ b/template/test/unit/jest.conf.js @@ -17,6 +17,7 @@ module.exports = { testPathIgnorePatterns: [ '/test/e2e' ],{{/e2e}} + testURL: 'http://localhost', snapshotSerializers: ['/node_modules/jest-serializer-vue'], setupFiles: ['/test/unit/setup'], mapCoverage: true,