{"action":"opened","issue":{"url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/570","repository_url":"https://api.github.com/repos/aurelia/skeleton-navigation","labels_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/570/comments","events_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/570/events","html_url":"https://github.com/aurelia/skeleton-navigation/issues/570","id":163676286,"number":570,"title":"skeleton-typescript-webpack does not work with aurelia-testing","user":{"login":"dstroyrofworlds","id":5618989,"avatar_url":"https://avatars.githubusercontent.com/u/5618989?v=3","gravatar_id":"","url":"https://api.github.com/users/dstroyrofworlds","html_url":"https://github.com/dstroyrofworlds","followers_url":"https://api.github.com/users/dstroyrofworlds/followers","following_url":"https://api.github.com/users/dstroyrofworlds/following{/other_user}","gists_url":"https://api.github.com/users/dstroyrofworlds/gists{/gist_id}","starred_url":"https://api.github.com/users/dstroyrofworlds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstroyrofworlds/subscriptions","organizations_url":"https://api.github.com/users/dstroyrofworlds/orgs","repos_url":"https://api.github.com/users/dstroyrofworlds/repos","events_url":"https://api.github.com/users/dstroyrofworlds/events{/privacy}","received_events_url":"https://api.github.com/users/dstroyrofworlds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-04T13:23:55Z","updated_at":"2016-07-04T13:23:55Z","closed_at":null,"body":"I installed aurelia-testing:\r\n```\r\nnpm install aurelia-testing --save-dev\r\n```\r\nI added a custom element:\r\ntest.html\r\n```html\r\n<template>Hi</template>\r\n```\r\n\r\nI added a test:\r\n```javascript\r\nimport './setup';\r\nimport {StageComponent, ComponentTester} from 'aurelia-testing';\r\nimport {bootstrap} from 'aurelia-bootstrapper-webpack';\r\n\r\ndescribe('The test widget', () => {\r\n\r\n    let component;\r\n\r\n    beforeEach(() => {\r\n       \r\n        component = StageComponent\r\n            .withResources(['./src/test.html','test.html','src/test'])\r\n            .inView('<test></test>');\r\n    });\r\n\r\n\r\n    afterEach(() => {\r\n        component.dispose();\r\n    });\r\n\r\n\r\n    it(' should work', (done: DoneFn) => {\r\n        component.create(bootstrap).then(() => {\r\n            done();\r\n        });\r\n    });\r\n\r\n});\r\n```\r\n\r\nThe **withSources** - I tried './src/test.html', 'test.html' - nothing works.\r\n\r\nI get error when running karma:\r\n```\r\nFAILED TESTS:\r\n  The test widget\r\n    x  should work\r\n      Chrome 51.0.2704 (Windows 7 0.0.0)\r\n    Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.\r\n    TypeError: component.dispose is not a function\r\n        at Object.<anonymous> (webpack:///test/unit/test.spec.ts:19:4 <- spec-bundle.js:20965:19)\r\n```\r\n"}}
{"actor":{"display_login":"dstroyrofworlds"}}