Skip to content

Commit

Permalink
Restore tests to their original state
Browse files Browse the repository at this point in the history
  • Loading branch information
kulshekhar committed Dec 18, 2017
1 parent a13e232 commit 59af832
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/__tests__/jest-hoist.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Jest.mock() calls', () => {
expect(result.status).toBe(0);
});

xit('Should retain proper line endings while hoisting', () => {
it('Should retain proper line endings while hoisting', () => {
const result = runJest('../hoist-errors', ['--no-cache']);

const stderr = result.stderr.toString();
Expand Down
2 changes: 1 addition & 1 deletion tests/__tests__/ts-errors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ describe('Typescript errors', () => {

expect(result.status).toBe(1);
expect(stderr).toContain('Hello.ts:13:11');
expect(stderr).toContain('Hello.test.ts:7:5');
expect(stderr).toContain('Hello.test.ts:7:12');
});
});
4 changes: 2 additions & 2 deletions tests/__tests__/use-strict.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe('use strict', () => {
const stderr = result.stderr.toString();

expect(result.status).toBe(1);
expect(stderr).toContain('Strict.ts:4:3');
expect(stderr).toContain('Strict.test.ts:7:16');
expect(stderr).toContain('Strict.ts:4:4');
expect(stderr).toContain('Strict.test.ts:7:5');
});

it('should work with "use strict"', () => {
Expand Down

0 comments on commit 59af832

Please sign in to comment.