From 729d445b6885f69dd2c6355f38707bd42851c791 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Wed, 22 Jun 2022 23:21:48 -0700 Subject: change the directory structure --- integration/snippets/react-context-value-func.tsx | 34 ----------------------- 1 file changed, 34 deletions(-) delete mode 100644 integration/snippets/react-context-value-func.tsx (limited to 'integration/snippets/react-context-value-func.tsx') diff --git a/integration/snippets/react-context-value-func.tsx b/integration/snippets/react-context-value-func.tsx deleted file mode 100644 index 5f38a5d1c..000000000 --- a/integration/snippets/react-context-value-func.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import React from "react"; - -const Context = React.createContext({}); - -const ContextProvider = ({ children }) => { - const [cb, setCB] = React.useState(function () {}); - const foo = true; - - return {children(foo)}; -}; - -const ContextValue = ({}) => ( - - {(foo) => { - if (foo) { - return
Worked!
; - } - - throw `Value "${foo}"" should be true`; - }} -
-); - -const TestComponent = () => ( - - - -); - -export function test() { - const foo = ; - - return testDone(import.meta.url); -} -- cgit v1.2.3