Skip to content

Commit

Permalink
Packages: Redux Routine: Add Babel runtime dependency (#8660)
Browse files Browse the repository at this point in the history
* ReduxRoutine: Add Babel runtime dependency

* Redux Routine: Use @babel/runtime-corejs2 dependency

* chore: Update package-lock.json file

* tests: Update failing test by regenerating snapshot
  • Loading branch information
aduth authored and gziolo committed Aug 8, 2018
1 parent d5c9b4b commit ea64a0f
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 81 deletions.
123 changes: 63 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,23 @@ exports[`DefaultBlockAppender should append a default block when input focused 1
"calls": Array [
Array [],
],
"results": Array [
Object {
"isThrow": false,
"value": undefined,
},
],
"results": undefined,
}
}
onFocus={
[MockFunction] {
"calls": Array [
Array [],
],
"results": Array [
Object {
"isThrow": false,
"value": undefined,
},
],
"results": undefined,
}
}
onKeyDown={
[MockFunction] {
"calls": Array [
Array [],
],
"results": Array [
Object {
"isThrow": false,
"value": undefined,
},
],
"results": undefined,
}
}
readOnly={true}
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"main": "index.js",
"dependencies": {
"@wordpress/jest-console": "file:../jest-console",
"babel-jest": "^23.2.0",
"babel-jest": "^23.4.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"jest-enzyme": "^6.0.2"
Expand Down
6 changes: 4 additions & 2 deletions packages/redux-routine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/redux-routine",
"version": "1.0.0",
"version": "1.0.0-beta.0",
"description": "Redux middleware for generator coroutines.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand All @@ -20,7 +20,9 @@
},
"main": "build/index.js",
"module": "build-module/index.js",
"dependencies": {},
"dependencies": {
"@babel/runtime-corejs2": "7.0.0-beta.56"
},
"devDependencies": {
"redux": "^4.0.0"
},
Expand Down

0 comments on commit ea64a0f

Please sign in to comment.