Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mediamonks / seng-boilerplate / 69
80%
master: 100%

Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/tar-4.4.19
DEFAULT BRANCH: master
Ran 11 Jul 2016 10:45PM UTC
Jobs 3
Files 3
Run time 22s
Badge
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

11 Jul 2016 - 22:30 coverage: 80.0%. First build
69

push

travis-ci

Be03374074df6414f64e406ce01a3129?size=18&default=identiconThaNarie
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

12 of 15 relevant lines covered (80.0%)

3.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 69.1 11 Jul 2016 10:45PM UTC 3
80.0
Travis Job 69.1
2 69.2 11 Jul 2016 10:45PM UTC 3
80.0
Travis Job 69.2
3 69.3 11 Jul 2016 10:45PM UTC 3
80.0
Travis Job 69.3
Source Files on build 69
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #69
  • 97d348e9 on github
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc