Instantly share code, notes, and snippets.

@lifeart /readme.md
Last active Sep 20, 2018

Embed
What would you like to do?
Ember Typescript Code Coverage

Steps:

1.) in tsconfig.json

  {
    compilerOptions: {
     "inlineSourceMap": true,
     "inlineSources": true,
    }
  }

2.) in ember-cli-build.js

  const app = new EmberApp(defaults, {
      babel: {
          sourceMaps: 'inline',
      },
      sourcemaps: {
          enabled: config.sourcemapsEnabled,
          extensions: ['js'],
      }
  });

3.) in package.json

 {
  devDependencies: {
   "ember-cli-code-coverage": "https://github.com/kategengler/ember-cli-code-coverage#master#2018-08-15T15:51:29Zs"
  }
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment