Unit testing with Webpack, Jasmine (-core), typescript
问题 I have a project that is using webpack to bundle all code into a single file. The project is using Typescript and it is working fine at the moment. I've gone to add unit testing and jasmine seems to be the way (one of the many ways) forward. Its actually jasmine-core that is included in the package.json - not sure how much of a difference that makes. So running a very simple test such as it('true is true', function(){ expect(true).toEqual(true); }); works fine. But when I add tests that