diff options
| author | 2022-12-07 19:16:30 -0800 | |
|---|---|---|
| committer | 2022-12-07 21:41:30 -0800 | |
| commit | 2fe5b4da2fed238c5465c7bc96e3d769c030f123 (patch) | |
| tree | 7a2883432f5c9cb670a9d3e77cb3d24622fbdbea /test/snapshots/react-context-value-func.hmr.tsx | |
| parent | 0b94ccdf8c75ab9df4cc965a067d8b881aeb8245 (diff) | |
| download | bun-2fe5b4da2fed238c5465c7bc96e3d769c030f123.tar.gz bun-2fe5b4da2fed238c5465c7bc96e3d769c030f123.tar.zst bun-2fe5b4da2fed238c5465c7bc96e3d769c030f123.zip | |
:camera:
Diffstat (limited to 'test/snapshots/react-context-value-func.hmr.tsx')
| -rw-r--r-- | test/snapshots/react-context-value-func.hmr.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/snapshots/react-context-value-func.hmr.tsx b/test/snapshots/react-context-value-func.hmr.tsx index 77603da81..d1473f1c3 100644 --- a/test/snapshots/react-context-value-func.hmr.tsx +++ b/test/snapshots/react-context-value-func.hmr.tsx @@ -26,22 +26,22 @@ var hmr = new FastHMR(4175696745, "react-context-value-func.tsx", FastRefresh), return jsx(Context.Provider, { value: cb, children: children(foo) - }, undefined, false, undefined, this); + }); }; const ContextValue = ({}) => jsx(Context.Consumer, { children: (foo) => { if (foo) return jsx("div", { children: "Worked!" - }, undefined, false, undefined, this); + }); throw `Value "${foo}"" should be true`; } - }, undefined, false, undefined, this); + }); const TestComponent = () => jsx(ContextProvider, { - children: jsx(ContextValue, {}, undefined, false, undefined, this) - }, undefined, false, undefined, this); + children: jsx(ContextValue, {}) + }); function test() { - const foo = jsx(TestComponent, {}, undefined, false, undefined, this); + const foo = jsx(TestComponent, {}); return testDone(import.meta.url); } hmr.exportAll({ |
