• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mediamonks / seng-boilerplate / 70
100%

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2016 10:46PM UTC
Jobs 3
Files 3
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
70

Pull #23

travis-ci

web-flow
Add sourcemap support for coverage by using remap-istanbul

Added remap-istanbul and all supporting karma plugins to correctly
remap the coverage results back to their TypeScript source.

Since all generations happens in memory by Webpack, we needed inline
sourcemap support, provided by the Karma plugins, the Webpack devtool
setting, and the webpack typescript loader.

The normal `ts-loader` doesn't support inline sourcemaps, so we switched
to `awesome-typescript-loader`. We created a new `tsconfig.test.json`
that is the same as the normal `tsconfig.json` but enables inline
sourcemaps by adding `"inlineSourceMap": true`.

The webpack dist builds have also switched to `awesome-typescript-loader`
to keep the configuration consistent.

To make the `awesome-typescript-loader` correctly work with const enums,
we needed to enable `preserveConstEnums` property in the `tsconfig.json`.

We also switched he `test/index.js` to `index.ts` and included
`webpack-env` in the `typings.json` so all wepack requires work in
TypeScript.

To have correct coverage reports consisting of _all_ the source files,
we've added a `Dummy.ts` file in the `src/` folder that is not
referenced by any tests, but must show up in the coverage results.
If this is not the case, we know our test setup is incorrect.

re #15
Pull Request #23: Add sourcemap support for coverage by using remap-istanbul

6 of 6 new or added lines in 1 file covered. (100.0%)

12 of 15 relevant lines covered (80.0%)

3.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
src/lib/Dummy.ts
Jobs
ID Job ID Ran Files Coverage
1 70.1 11 Jul 2016 10:46PM UTC 0
80.0
Travis Job 70.1
2 70.2 11 Jul 2016 10:46PM UTC 0
80.0
Travis Job 70.2
3 70.3 11 Jul 2016 10:49PM UTC 0
80.0
Travis Job 70.3
Source Files on build 70
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #70
  • Pull Request #23
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc