Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 44202b2

Browse files
committedJul 1, 2018
Check the error message instead of relying on the snapshot
1 parent 737bf8a commit 44202b2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎.gitattributes

-1
This file was deleted.

‎packages/jest-config/src/__tests__/normalize.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ describe('preset', () => {
946946
},
947947
{},
948948
);
949-
}).toThrowErrorMatchingSnapshot();
949+
}).toThrowError(/Unexpected token }/);
950950
});
951951

952952
test('works with "react-native"', () => {

0 commit comments

Comments
 (0)
Please sign in to comment.