Skip to content

Commit

Permalink
Fix failing tests (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
realityking authored and aweary committed Nov 30, 2017
1 parent 644844c commit 77c62a7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/PropTypesDevelopmentReact15.js
Expand Up @@ -124,7 +124,7 @@ describe('PropTypesDevelopmentReact15', () => {
);
expect(console.error.calls.argsFor(0)[0]).toEqual(
'Warning: Failed prop type: testComponent: prop type `foo` is invalid; ' +
'it must be a function, usually from the `prop-types` package.'
'it must be a function, usually from the `prop-types` package, but received `undefined`.'
);
});

Expand Down
2 changes: 1 addition & 1 deletion __tests__/PropTypesDevelopmentStandalone-test.js
Expand Up @@ -120,7 +120,7 @@ describe('PropTypesDevelopmentStandalone', () => {
);
expect(console.error.calls.argsFor(0)[0]).toEqual(
'Warning: Failed prop type: testComponent: prop type `foo` is invalid; ' +
'it must be a function, usually from the `prop-types` package.'
'it must be a function, usually from the `prop-types` package, but received `undefined`.'
);
});

Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Expand Up @@ -1049,6 +1049,18 @@ fb-watchman@^2.0.0:
dependencies:
bser "^2.0.0"

fbjs@^0.8.16:
version "0.8.16"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db"
dependencies:
core-js "^1.0.0"
isomorphic-fetch "^2.1.1"
loose-envify "^1.0.0"
object-assign "^4.1.0"
promise "^7.1.1"
setimmediate "^1.0.5"
ua-parser-js "^0.7.9"

fbjs@^0.8.9:
version "0.8.12"
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04"
Expand Down

0 comments on commit 77c62a7

Please sign in to comment.