{"action":"created","issue":{"url":"https://api.github.com/repos/coreui/coreui-free-vue-admin-template/issues/115","repository_url":"https://api.github.com/repos/coreui/coreui-free-vue-admin-template","labels_url":"https://api.github.com/repos/coreui/coreui-free-vue-admin-template/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/coreui/coreui-free-vue-admin-template/issues/115/comments","events_url":"https://api.github.com/repos/coreui/coreui-free-vue-admin-template/issues/115/events","html_url":"https://github.com/coreui/coreui-free-vue-admin-template/issues/115","id":345126865,"node_id":"MDU6SXNzdWUzNDUxMjY4NjU=","number":115,"title":"Unit test failing","user":{"login":"amandiobm","id":2334321,"node_id":"MDQ6VXNlcjIzMzQzMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/2334321?v=4","gravatar_id":"","url":"https://api.github.com/users/amandiobm","html_url":"https://github.com/amandiobm","followers_url":"https://api.github.com/users/amandiobm/followers","following_url":"https://api.github.com/users/amandiobm/following{/other_user}","gists_url":"https://api.github.com/users/amandiobm/gists{/gist_id}","starred_url":"https://api.github.com/users/amandiobm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amandiobm/subscriptions","organizations_url":"https://api.github.com/users/amandiobm/orgs","repos_url":"https://api.github.com/users/amandiobm/repos","events_url":"https://api.github.com/users/amandiobm/events{/privacy}","received_events_url":"https://api.github.com/users/amandiobm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-27T07:53:20Z","updated_at":"2018-07-27T09:57:38Z","closed_at":null,"author_association":"NONE","body":"Hello guys, I just clone the repository and run all the tests, and I received this error.\r\n\r\n> @coreui/coreui-free-vue-admin-template@2.0.0-beta.7 test:unit \r\n> vue-cli-service test:unit\r\n\r\n FAIL  tests/unit/Dashboard.spec.js\r\n  ● Test suite failed to run\r\n\r\n    SecurityError: localStorage is not available for opaque origins\r\n\r\n      at Window.get localStorage [as localStorage] (node_modules/jsdom/lib/jsdom/browser/Window.js:257:15)\r\n          at Array.forEach (<anonymous>)\r\n\r\nTest Suites: 1 failed, 1 total\r\nTests:       0 total\r\nSnapshots:   0 total\r\nTime:        0.49s\r\nRan all test suites.\r\n---\r\n\r\nI have an old version `beta-5`, with an old lock file which run perfectly.\r\n\r\nMy setup is:\r\nLinux Ubuntu 16.04 LTS\r\nNPM: 6.2.0\r\nNODE: 8.11.3\r\n\r\nCan someone help?!"},"comment":{"url":"https://api.github.com/repos/coreui/coreui-free-vue-admin-template/issues/comments/408372286","html_url":"https://github.com/coreui/coreui-free-vue-admin-template/issues/115#issuecomment-408372286","issue_url":"https://api.github.com/repos/coreui/coreui-free-vue-admin-template/issues/115","id":408372286,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODM3MjI4Ng==","user":{"login":"xidedix","id":20643598,"node_id":"MDQ6VXNlcjIwNjQzNTk4","avatar_url":"https://avatars1.githubusercontent.com/u/20643598?v=4","gravatar_id":"","url":"https://api.github.com/users/xidedix","html_url":"https://github.com/xidedix","followers_url":"https://api.github.com/users/xidedix/followers","following_url":"https://api.github.com/users/xidedix/following{/other_user}","gists_url":"https://api.github.com/users/xidedix/gists{/gist_id}","starred_url":"https://api.github.com/users/xidedix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xidedix/subscriptions","organizations_url":"https://api.github.com/users/xidedix/orgs","repos_url":"https://api.github.com/users/xidedix/repos","events_url":"https://api.github.com/users/xidedix/events{/privacy}","received_events_url":"https://api.github.com/users/xidedix/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T09:57:37Z","updated_at":"2018-07-27T09:57:37Z","author_association":"COLLABORATOR","body":"looks like it was introduced with `vue-cli ^3.0.0-rc.6`\r\n\r\nadd this to your `jest.config.js`\r\n```js\r\nmodule.exports = {\r\n  verbose: true,\r\n  testURL: \"http://localhost/\",\r\n  ...\r\n}\r\n```"}}
{"actor":{"display_login":"xidedix"}}