Skip to content

Commit

Permalink
test(coverage): improve coverage config (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardobazico authored May 16, 2021
1 parent c935888 commit a6f8e0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
coverageReporters: ['text', 'lcov'],
collectCoverageFrom: ['src/**/*.*'],
};
2 changes: 1 addition & 1 deletion test/e2e/test-kit.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as express from 'express';
import { Express, RequestHandler } from 'express';

export { createProxyMiddleware, responseInterceptor, fixRequestBody } from '../../dist/index';
export { createProxyMiddleware, responseInterceptor, fixRequestBody } from '../../src/index';

export function createApp(...middlewares: RequestHandler[]): Express {
const app = express();
Expand Down

0 comments on commit a6f8e0d

Please sign in to comment.