Skip to content

Commit ee697aa

Browse files
committed
Updating tests
1 parent 24c2eca commit ee697aa

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
4-
setupFilesAfterEnv: ['<rootDir>/test-setup.js'],
4+
setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
55
snapshotSerializers: ['enzyme-to-json/serializer'],
66
transform: { '^.+\\.tsx?$': 'ts-jest' },
77
testMatch: ['**/__tests__/**/*.ts?(x)', '**/?(*.)+(test).ts?(x)'],

src/__tests__/bestcomments.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import { shallow } from 'enzyme';
33

4-
import { BestCommentsPage } from '../bestcomments';
4+
import BestCommentsPage from '../../pages/bestcomments';
55

66
describe('Best Comments Page', () => {
77
it('is defined', () => {

0 commit comments

Comments
 (0)