dojo / cli-build-webpack

🚀 **DEPRECATED** Dojo 2 - cli command for building applications
http://dojo.io
Other
4 stars 19 forks source link

Adding test bundle #209

Closed rorticus closed 7 years ago

rorticus commented 7 years ago

Type: feature

The following has been addressed in the PR:

Description:

Adding separate bundles for code being tested and "support" code. The code being tested is run through istanbul for coverage and is ready for intern 4!

This is used by https://github.com/dojo/cli-test-intern/pull/61

Resolves #127

rorticus commented 7 years ago

Removed the separate bundles and am just using the same bundle we've always had, but using istanbul to manually instrument only the src/**/*.ts files in the bundle.

rorticus commented 7 years ago

In regards to the istanbul loader, I talked to @jason0x43 and it sounds like this will be eventually moved to intern. Added to https://github.com/theintern/intern/issues/769 .

rorticus commented 7 years ago

OK, issue raised in Webpack and tracked by https://github.com/dojo/cli-build-webpack/issues/211

jason0x43 commented 7 years ago

A beta of the istanbul-loader is now out as @theintern/istanbul-loader. Install the 'next' version if you want to try it out ('latest' is also a beta, just the first one).