Skip to content

Commit

Permalink
bump babel-plugin-istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbay committed Dec 29, 2016
1 parent 81c0cbb commit 59d3f14
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ it('adds 1 + 2 to equal 3 in TScript', ()=> {

it('subtracts 3 - 2 to equal 1 in TScript', () => {
expect(difference(3, 2)).toBe(1);
});
});
2 changes: 1 addition & 1 deletion integration_tests/typescript-coverage/covered.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ export function difference(a: number, b: number): number {
const fn2 = true ? () => null : () => null;

return a - b;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const tsc = require('typescript');
module.exports = {
process(src, path) {
if (path.endsWith('.ts') || path.endsWith('.tsx')) {
const {outputText, sourceMapText} = tsc.transpileModule(
const result = tsc.transpileModule(
src,
{
compilerOptions: {
Expand All @@ -16,8 +16,8 @@ module.exports = {
}
);
return {
content: outputText,
sourceMap: JSON.parse(sourceMapText),
content: result.outputText,
sourceMap: JSON.parse(result.sourceMapText),
};
}
return src;
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"babel-core": "^6.0.0",
"babel-jest": "^18.0.0",
"babel-plugin-istanbul": "^3.0.0",
"babel-plugin-istanbul": "^3.1.0-candidate.0",
"chalk": "^1.1.3",
"graceful-fs": "^4.1.6",
"istanbul-lib-instrument": "^1.3.0",
Expand Down

0 comments on commit 59d3f14

Please sign in to comment.