{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma/issues/1530","labels_url":"https://api.github.com/repos/karma-runner/karma/issues/1530/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma/issues/1530/comments","events_url":"https://api.github.com/repos/karma-runner/karma/issues/1530/events","html_url":"https://github.com/karma-runner/karma/issues/1530","id":98616664,"number":1530,"title":"Karma 0.13 ignores included:false pattern","user":{"login":"hacst","id":237537,"avatar_url":"https://avatars.githubusercontent.com/u/237537?v=3","gravatar_id":"","url":"https://api.github.com/users/hacst","html_url":"https://github.com/hacst","followers_url":"https://api.github.com/users/hacst/followers","following_url":"https://api.github.com/users/hacst/following{/other_user}","gists_url":"https://api.github.com/users/hacst/gists{/gist_id}","starred_url":"https://api.github.com/users/hacst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hacst/subscriptions","organizations_url":"https://api.github.com/users/hacst/orgs","repos_url":"https://api.github.com/users/hacst/repos","events_url":"https://api.github.com/users/hacst/events{/privacy}","received_events_url":"https://api.github.com/users/hacst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karma-runner/karma/labels/needs:%20investigation","name":"needs: investigation","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-02T15:24:13Z","updated_at":"2015-08-02T15:40:10Z","closed_at":null,"body":"Hi. In one of my projects Karma started to include files marked with \"included:false\" in the karma.conf.js after I upgraded to Karma 0.13.3. Switching back to 0.12.37 resolves the issue so either there was a intended behavioral change (either undocumented or breaking some wrong assumptions on my side) or a regression. I reproduced the issue on Windows 10 as well as Ubuntu 15.04.\r\n\r\nThe karma.conf.js looks something like this:\r\n```js\r\nmodule.exports = function(config) {\r\n  config.set({\r\n    basePath: '../',\r\n    ...\r\n    files: [\r\n      {pattern: 'src/scripts/backend/worker.js', included: false}, // Web-worker script with entry point\r\n      'src/scripts/**/*.js',\r\n      'test/unit/test_*.js'\r\n    ],\r\n    ...\r\n  });\r\n};\r\n```\r\nThe worker.js script contains web-worker specific functionality and hence must not be executed directly.\r\n\r\nSteps to reproduce:\r\n* Download the reproducer from http://d0t.dbclan.de/dump/karma-included-false-ignored-in-0.13.zip and extract it somewhere\r\n* Run ```npm install```\r\n* Run ```npm test```\r\n* Replace the package.json with package-working.json\r\n* Re-run ```npm install```\r\n* Re-run ```npm test```\r\n\r\n**Expected:** As worker.js should not be included directly its contents should be ignored and the dummy test should pass in both runs of ```npm test```\r\n\r\n**Actual:** For the first run with Karma 0.13.3 worker.js is included and Karma fails and complains about ```someWebworkerSpecificFunction``` in worker.js. The second run with Karma 0.12.37 works as expected.\r\n\r\nAs I said. I'm not sure if it's something I'm doing or not but the behavior definitely changed between those two versions."},"comment":{"url":"https://api.github.com/repos/karma-runner/karma/issues/comments/127036990","html_url":"https://github.com/karma-runner/karma/issues/1530#issuecomment-127036990","issue_url":"https://api.github.com/repos/karma-runner/karma/issues/1530","id":127036990,"user":{"login":"Dignifiedquire","id":790842,"avatar_url":"https://avatars.githubusercontent.com/u/790842?v=3","gravatar_id":"","url":"https://api.github.com/users/Dignifiedquire","html_url":"https://github.com/Dignifiedquire","followers_url":"https://api.github.com/users/Dignifiedquire/followers","following_url":"https://api.github.com/users/Dignifiedquire/following{/other_user}","gists_url":"https://api.github.com/users/Dignifiedquire/gists{/gist_id}","starred_url":"https://api.github.com/users/Dignifiedquire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dignifiedquire/subscriptions","organizations_url":"https://api.github.com/users/Dignifiedquire/orgs","repos_url":"https://api.github.com/users/Dignifiedquire/repos","events_url":"https://api.github.com/users/Dignifiedquire/events{/privacy}","received_events_url":"https://api.github.com/users/Dignifiedquire/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T15:40:10Z","updated_at":"2015-08-02T15:40:10Z","body":"Thanks for the detailed report I will see what I can find out. There have been a lot of changes in this area so this is probably a simple regression on our side"}}