Skip to content

Commit

Permalink
fix(jest): fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Barabanov committed Jan 9, 2019
1 parent 4cc9be0 commit c9c7356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest/src/default-config.resolver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const defaultConfigResolver = new DefaultConfigResolver();
describe('Resolve project default configuration', () => {
it('Should resolve tsconfig relatively to project root', () => {
const config = defaultConfigResolver.resolveForProject(normalize('/some/cool/directory'));
expect(config.globals['ts-jest'].tsConfigFile).toEqual(getSystemPath(normalize(`/some/cool/directory/${tsConfigName}`)));
expect(config.globals['ts-jest'].tsConfig).toEqual(getSystemPath(normalize(`/some/cool/directory/${tsConfigName}`)));
});

it('Should resolve testMatch pattern relatively to project root', () => {
Expand Down

0 comments on commit c9c7356

Please sign in to comment.