[change] Text uses createContext

Replaces the legacy 'contextTypes' API.
Removes 'enzyme' from related tests. Back to recording DOM snapshots.

Close #1248
Ref #1172
This commit is contained in:
Nicolas Gallagher
2019-07-01 17:29:19 -07:00
parent 25dd43e960
commit d554d83727
13 changed files with 724 additions and 211 deletions
+1
View File
@@ -33,6 +33,7 @@
"@babel/preset-env": "^7.2.3",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@testing-library/react": "^8.0.5",
"babel-eslint": "^10.0.0",
"babel-jest": "24.0.0-alpha.9",
"babel-loader": "^8.0.0",