Skip to content

Commit

Permalink
Fix a test to account for #72
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Aug 25, 2015
1 parent e6efa61 commit b12f828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/components/Provider.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('React', () => {

it('should warn once when using a single element before React 0.14', () => {
const store = createStore(() => ({}));
['0.13.0-beta', '0.13.0', '0.13.3'].forEach(version => {
['0.13.0-beta', '0.13.0', '0.13.3', undefined].forEach(version => {
const LocalProvider = createProvider({ ...React, version });
// Trick React into checking propTypes every time:
LocalProvider.displayName = Math.random().toString();
Expand Down

0 comments on commit b12f828

Please sign in to comment.