{"action":"created","issue":{"url":"https://api.github.com/repos/JamieMason/karma-jasmine-matchers/issues/7","repository_url":"https://api.github.com/repos/JamieMason/karma-jasmine-matchers","labels_url":"https://api.github.com/repos/JamieMason/karma-jasmine-matchers/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/JamieMason/karma-jasmine-matchers/issues/7/comments","events_url":"https://api.github.com/repos/JamieMason/karma-jasmine-matchers/issues/7/events","html_url":"https://github.com/JamieMason/karma-jasmine-matchers/issues/7","id":105609072,"number":7,"title":"TypeError: expect(...).toHaveMethod is not a function","user":{"login":"MadaraUchiha","id":1188951,"avatar_url":"https://avatars.githubusercontent.com/u/1188951?v=3","gravatar_id":"","url":"https://api.github.com/users/MadaraUchiha","html_url":"https://github.com/MadaraUchiha","followers_url":"https://api.github.com/users/MadaraUchiha/followers","following_url":"https://api.github.com/users/MadaraUchiha/following{/other_user}","gists_url":"https://api.github.com/users/MadaraUchiha/gists{/gist_id}","starred_url":"https://api.github.com/users/MadaraUchiha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadaraUchiha/subscriptions","organizations_url":"https://api.github.com/users/MadaraUchiha/orgs","repos_url":"https://api.github.com/users/MadaraUchiha/repos","events_url":"https://api.github.com/users/MadaraUchiha/events{/privacy}","received_events_url":"https://api.github.com/users/MadaraUchiha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-09T14:32:11Z","updated_at":"2016-02-09T19:40:35Z","closed_at":"2015-09-09T15:48:09Z","body":"I've been trying to add jasmine-matchers to my Karma tests for a while now, and apparently it refuses to load.\r\n\r\nI have the following config (with the irrelevant items left out):\r\n\r\n```javascript\r\n        frameworks: [\r\n            'requirejs',\r\n            'jasmine',\r\n            'jasmine-matchers'\r\n        ],\r\n\r\n        // list of files / patterns to load in the browser\r\n        files: [\r\n            // ...\r\n            'src/test/javascript/test-main.js'\r\n        ],\r\n\r\n        browsers: [\r\n            'PhantomJS'\r\n        ],\r\n\r\n        plugins: [\r\n            'karma-jasmine',\r\n            'karma-jasmine-matchers',\r\n            'karma-requirejs',\r\n            'karma-junit-reporter',\r\n            'karma-chrome-launcher',\r\n            'karma-firefox-launcher',\r\n            'karma-phantomjs-launcher'\r\n        ]\r\n```\r\n\r\nThe only thing I can think of that may collide is requirejs. The log shows that jasmine-matchers.js was indeed requested and loaded, also, looking at the browser running the karma tests, I can see jasmine-matchers.js in the resources tab.\r\n\r\nIs it possible the karma-jasmine-matchers doesn't play nice with requirejs?"},"comment":{"url":"https://api.github.com/repos/JamieMason/karma-jasmine-matchers/issues/comments/182025499","html_url":"https://github.com/JamieMason/karma-jasmine-matchers/issues/7#issuecomment-182025499","issue_url":"https://api.github.com/repos/JamieMason/karma-jasmine-matchers/issues/7","id":182025499,"user":{"login":"JamieMason","id":320492,"avatar_url":"https://avatars.githubusercontent.com/u/320492?v=3","gravatar_id":"","url":"https://api.github.com/users/JamieMason","html_url":"https://github.com/JamieMason","followers_url":"https://api.github.com/users/JamieMason/followers","following_url":"https://api.github.com/users/JamieMason/following{/other_user}","gists_url":"https://api.github.com/users/JamieMason/gists{/gist_id}","starred_url":"https://api.github.com/users/JamieMason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamieMason/subscriptions","organizations_url":"https://api.github.com/users/JamieMason/orgs","repos_url":"https://api.github.com/users/JamieMason/repos","events_url":"https://api.github.com/users/JamieMason/events{/privacy}","received_events_url":"https://api.github.com/users/JamieMason/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T19:40:35Z","updated_at":"2016-02-09T19:40:35Z","body":"Sorry about this @MadaraUchiha @Dianna, please find the README updated."}}