{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/999","repository_url":"https://api.github.com/repos/vuejs/vue-test-utils","labels_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/999/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/999/comments","events_url":"https://api.github.com/repos/vuejs/vue-test-utils/issues/999/events","html_url":"https://github.com/vuejs/vue-test-utils/issues/999","id":369501692,"node_id":"MDU6SXNzdWUzNjk1MDE2OTI=","number":999,"title":"Window is undefined, vue-test-utils needs to be run in a browser environment.","user":{"login":"DylanC","id":4488048,"node_id":"MDQ6VXNlcjQ0ODgwNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/4488048?v=4","gravatar_id":"","url":"https://api.github.com/users/DylanC","html_url":"https://github.com/DylanC","followers_url":"https://api.github.com/users/DylanC/followers","following_url":"https://api.github.com/users/DylanC/following{/other_user}","gists_url":"https://api.github.com/users/DylanC/gists{/gist_id}","starred_url":"https://api.github.com/users/DylanC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DylanC/subscriptions","organizations_url":"https://api.github.com/users/DylanC/orgs","repos_url":"https://api.github.com/users/DylanC/repos","events_url":"https://api.github.com/users/DylanC/events{/privacy}","received_events_url":"https://api.github.com/users/DylanC/received_events","type":"User","site_admin":false},"labels":[{"id":773193948,"node_id":"MDU6TGFiZWw3NzMxOTM5NDg=","url":"https://api.github.com/repos/vuejs/vue-test-utils/labels/docs","name":"docs","color":"00d0e8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-10-12T10:55:47Z","updated_at":"2018-11-25T10:57:23Z","closed_at":"2018-11-25T10:57:23Z","author_association":"NONE","body":"### Version\r\n1.0.0-beta.24\r\n\r\n### Steps to reproduce\r\nPackages:\r\n- \"@vue/test-utils\": \"^1.0.0-beta.24\"\r\n- \"jest-serializer-vue\": \"^2.0.2\"\r\n- \"jest\": \"^23.6.0\"\r\n- \"babel-jest\": \"^21.2.0\"\r\n\r\nRun jest --config test/unit/jest.conf.js\r\n\r\nMy config file:\r\n`const path = require('path')\r\n\r\nmodule.exports = {\r\n  rootDir: path.resolve(__dirname, '../../'),\r\n  testEnvironment: 'node',\r\n  moduleFileExtensions: [\r\n  'js',\r\n  'json',\r\n  'vue'\r\n  ],\r\n  moduleNameMapper: {\r\n    '^@/(.*)$': '<rootDir>/src/$1'\r\n  },\r\n  transform: {\r\n    '^. \\\\.js$': '<rootDir>/node_modules/babel-jest',\r\n    '.*\\\\.(vue)$': '<rootDir>/node_modules/vue-jest'\r\n  },\r\n  snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'],\r\n  setupFiles: ['<rootDir>/test/unit/setup'],\r\n  collectCoverage:false,\r\n  coverageThreshold: {\r\n    \"global\": {\r\n      \"branches\": 0,\r\n      \"functions\": 0,\r\n      \"lines\": 0\r\n    }\r\n  }\r\n}`\r\n\r\n### What is expected?\r\nTests should have a status of PASS.\r\n\r\n### What is actually happening?\r\nAll tests have a status of FAIL for the reason above.\r\n\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"}}
{"actor":{"display_login":"eddyerburgh"}}