We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93875d2 commit c8d7d0eCopy full SHA for c8d7d0e
src/index.js
@@ -1,5 +1,3 @@
1
-/** @jsx createValueElement */
2
-
3
import { createElement } from "react";
4
import { ValueObject } from "tuplerone";
5
src/index.test.js
@@ -2,8 +2,9 @@ import { createValueElement } from "react-default-memo";
describe("createValueElement", () => {
it("works", () => {
- const el = createValueElement("div", {});
+ const el1 = createValueElement("div", { a: { b: 1 } });
6
+ const el2 = createValueElement("div", { a: { b: 1 } });
7
- console.log(el);
8
+ expect(el1).toEqual(el2);
9
});
10
0 commit comments