Skip to content

Commit

Permalink
FIX Ensure URLInput does track changes, and fix missing requestAnimat…
Browse files Browse the repository at this point in the history
…ionFrame error in tests

See jestjs/jest#4545
  • Loading branch information
robbieaverill authored and ScopeyNZ committed Jan 15, 2019
1 parent 96bd943 commit a60a25d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion client/src/components/CKANResourceLocatorField/URLInput.js
Expand Up @@ -38,7 +38,6 @@ class URLInput extends Component {
const props = {
className: classNames(
className,
'no-change-track',
{ 'is-invalid': invalid }
),
value,
Expand Down
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -35,10 +35,11 @@
"@silverstripe/webpack-config": "^0.12.0",
"babel-jest": "^19.0.0",
"enzyme": "^3.3.0",
"react-addons-test-utils": "15.4.2",
"enzyme-adapter-react-15.4": "^1.0.5",
"expose-loader": "^0.7.4",
"jest-cli": "^19.0.2",
"raf": "^3.4.1",
"react-addons-test-utils": "15.4.2",
"sass-loader": "^6.0.7"
},
"jest": {
Expand Down Expand Up @@ -66,7 +67,8 @@
],
"transform": {
".*": "babel-jest"
}
},
"setupFiles": ["raf/polyfill"]
},
"babel": {
"presets": [
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Expand Up @@ -6376,7 +6376,7 @@ qw@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/qw/-/qw-1.0.1.tgz#efbfdc740f9ad054304426acb183412cc8b996d4"

raf@^3.4.0:
raf@^3.4.0, raf@^3.4.1:
version "3.4.1"
resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
dependencies:
Expand Down

0 comments on commit a60a25d

Please sign in to comment.