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

mediamonks / seng-boilerplate
80%
master: 100%

DEFAULT BRANCH: master
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/tar-4.4.19
Repo Added 11 Jul 2016 06:44AM PDT
Files 1
Badge
Remap istanbul 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

LAST BUILD ON BRANCH feature/remap-istanbul
branch: feature/remap-istanbul
CHANGE BRANCH
x
Reset
  • feature/remap-istanbul
  • master
  • feature/dist
  • feature/fix-clean-command
  • feature/typescript-file-config
  • feature/remove-no-emit-helpers
  • feature/dist-bundle
  • feature/karma-conf-root
  • v1.2.2
  • feature/webpack-3
  • feature/upgrade-ts
  • dependency-upgrades
  • dependabot/npm_and_yarn/handlebars-4.5.1
  • dependabot/npm_and_yarn/handlebars-4.5.3
  • dependabot/npm_and_yarn/lodash-4.17.19
  • dependabot/npm_and_yarn/handlebars-4.7.6
  • dependabot/npm_and_yarn/highlight.js-9.18.5
  • dependabot/npm_and_yarn/ini-1.3.7
  • dependabot/npm_and_yarn/y18n-3.2.2
  • dependabot/npm_and_yarn/handlebars-4.7.7
  • dependabot/npm_and_yarn/lodash-4.17.21
  • dependabot/npm_and_yarn/hosted-git-info-2.8.9
  • dependabot/npm_and_yarn/browserslist-4.16.6
  • dependabot/npm_and_yarn/tar-4.4.15
  • dependabot/npm_and_yarn/path-parse-1.0.7
  • dependabot/npm_and_yarn/tar-4.4.19

11 Jul 2016 - 15: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

Relevant lines Covered
15 RELEVANT LINES 12 COVERED LINES
Build:
3.0 HITS PER LINE
Source Files on feature/remap-istanbul
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Builds

Builds Branch Commit Type Ran Committer Via Coverage
69 feature/remap-istanbul 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 need... push 11 Jul 2016 03:45PM PDT Be03374074df6414f64e406ce01a3129?size=18&default=identiconThaNarie travis-ci
80.0
See All Builds (84)
  • Repo 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