Skip to content

Commit ce6135d

Browse files
committed
Update tests
1 parent b5ca9ef commit ce6135d

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

tests/references/Component1.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var Inferno = require("inferno");
2+
var createComponentVNode = Inferno.createComponentVNode;
3+
createComponentVNode(2, Com, { "children": a });

tests/references/Component2.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var Inferno = require("inferno");
2+
var createComponentVNode = Inferno.createComponentVNode;
3+
createComponentVNode(2, Com, { "children": [a,
4+
b,
5+
c] });

tests/references/Component3.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var Inferno = require("inferno");
2+
var createTextVNode = Inferno.createTextVNode;
3+
var createComponentVNode = Inferno.createComponentVNode;
4+
var createVNode = Inferno.createVNode;
5+
createComponentVNode(2, Comp, { "children": [createVNode(1, "p", null, createTextVNode("child1"), 2), createVNode(1, "p", null, createTextVNode("child2"), 2), createVNode(1, "p", null, createTextVNode("child3"), 2)] });

tests/references/advancedWithImports.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var __extends = (this && this.__extends) || (function () {
2626
var inferno_component_1 = require("inferno-component");
2727
var Incrementer_1 = require("./components/Incrementer");
2828
var container = document.getElementById("app");
29-
var MyComponent = (function (_super) {
29+
var MyComponent = /** @class */ (function (_super) {
3030
__extends(MyComponent, _super);
3131
function MyComponent(props, context) {
3232
var _this = _super.call(this, props, context) || this;

0 commit comments

Comments
 (0)