Skip to content

Commit

Permalink
Add missing test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglou committed Jul 17, 2016
1 parent aee053b commit c7a5ba8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function typeCheckFailRequiredValues(declaration) {
null,
ReactPropTypesSecret
);
expect(error1 instanceof Error).toBe(true);
expect(error1.message).toBe(specifiedButIsNullMsg);
var props2 = {testProp: undefined};
var error2 = declaration(
Expand Down

0 comments on commit c7a5ba8

Please sign in to comment.