Skip to content

Commit

Permalink
ci: add map to testing compilation for codecov (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Supamiu committed Aug 9, 2017
1 parent 206dbb1 commit 58e88e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import * as sinonChai from 'sinon-chai';
use(sinonChai);

declare const require: any;
const testsContext: any = require.context('./', true, /\.spec/);
const testsContext: any = require.context('./', true, /\.spec\.ts/);
testsContext.keys().forEach(testsContext);
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "ES5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": false,
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.prod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true
"declaration": true,
"sourceMap": false
},
"include": [
],
Expand Down

0 comments on commit 58e88e0

Please sign in to comment.