mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Update dynamic-import test app to use React 16.
This commit is contained in:
17
tools/tests/apps/dynamic-import/package-lock.json
generated
17
tools/tests/apps/dynamic-import/package-lock.json
generated
@@ -32,16 +32,6 @@
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz",
|
||||
"integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs="
|
||||
},
|
||||
"create-react-class": {
|
||||
"version": "15.6.2",
|
||||
"resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.2.tgz",
|
||||
"integrity": "sha1-zx7RXxKq1/FO9fLf4F5sQvke8Co=",
|
||||
"requires": {
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1"
|
||||
}
|
||||
},
|
||||
"encoding": {
|
||||
"version": "0.1.12",
|
||||
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
|
||||
@@ -825,11 +815,10 @@
|
||||
"integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
|
||||
},
|
||||
"react": {
|
||||
"version": "15.6.2",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz",
|
||||
"integrity": "sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI=",
|
||||
"version": "16.0.0",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-16.0.0.tgz",
|
||||
"integrity": "sha1-zn348ZQbA28Cssyp29DLHw6FXi0=",
|
||||
"requires": {
|
||||
"create-react-class": "15.6.2",
|
||||
"fbjs": "0.8.16",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"moment": "^2.17.1",
|
||||
"optimism": "^0.3.3",
|
||||
"private": "^0.1.7",
|
||||
"react": "^15.4.2",
|
||||
"react": "^16.0.0",
|
||||
"uuid": "^3.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ describe("dynamic import(...)", function () {
|
||||
import("react")
|
||||
]).then(([{ name }, React]) => {
|
||||
assert.strictEqual(name, "react");
|
||||
assert.strictEqual(typeof React.createClass, "function");
|
||||
assert.strictEqual(typeof React.createElement, "function");
|
||||
assertDeepEqual(React, require("re" + "act"));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user