Skip to content

Commit

Permalink
Merge pull request #1447 from Shopify/remove-testid-warning
Browse files Browse the repository at this point in the history
Remove testID warning
  • Loading branch information
AndrewMusgrave committed May 15, 2019
2 parents f8ade61 + d49f30e commit 623cd1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions UNRELEASED-V4.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f

- Updated all our context files to export react context rather than a provider and consumer ([#1459](https://github.com/Shopify/polaris-react/pull/1459))
- Upgraded the `Autocomplete` component from legacy context API to use createContext ([#1403](https://github.com/Shopify/polaris-react/pull/1403))
- Removed testID warning in tests ([#1447](https://github.com/Shopify/polaris-react/pull/1447))
- Updated `ThemeProvider` to use the new context api ([#1396](https://github.com/Shopify/polaris-react/pull/1396))
- Updated `AppProvider` to no longer use `componentWillReceiveProps`([#1255](https://github.com/Shopify/polaris-react/pull/1255))
- Upgraded the `Navigation` component from legacy context API to use createContext ([#1402](https://github.com/Shopify/polaris-react/pull/1402))
Expand Down
2 changes: 1 addition & 1 deletion tests/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Adapter from 'enzyme-adapter-react-16';
configure({adapter: new Adapter()});

const IGNORE_ERROR_REGEXES = [
/React does not recognize the `testID` prop on a DOM element/,
/React does not recognize the `%s` prop on a DOM element/,
/Accessing PropTypes via the main React package is deprecated/,
/ReactTestUtils has been moved to react-dom\/test-utils/,
/Shallow renderer has been moved to react-test-renderer\/shallow/,
Expand Down

0 comments on commit 623cd1f

Please sign in to comment.