| /expo/packages/html-elements/src/elements/__tests__/ |
| H A D | Text-test.tsx | 26 expect(tree).toMatchSnapshot(); 30 expect(tree).toMatchSnapshot(); 34 expect(tree).toMatchSnapshot(); 38 expect(tree).toMatchSnapshot(); 42 expect(tree).toMatchSnapshot(); 46 expect(tree).toMatchSnapshot(); 50 expect(tree).toMatchSnapshot(); 54 expect(tree).toMatchSnapshot(); 58 expect(tree).toMatchSnapshot(); 62 expect(tree).toMatchSnapshot(); [all …]
|
| H A D | Table-test.tsx | 9 const tree = renderer.create(<Table />); 10 expect(tree).toMatchSnapshot(); 13 const tree = renderer.create(<THead />); 14 expect(tree).toMatchSnapshot(); 18 expect(tree).toMatchSnapshot(); 22 expect(tree).toMatchSnapshot(); 26 expect(tree).toMatchSnapshot(); 29 const tree = renderer.create(<TR />); 30 expect(tree).toMatchSnapshot(); 34 expect(tree).toMatchSnapshot(); [all …]
|
| H A D | Layout-test.tsx | 9 const tree = renderer.create(<Footer />); 10 expect(tree).toMatchSnapshot(); 14 const tree = renderer.create(<Nav />); 15 expect(tree).toMatchSnapshot(); 19 const tree = renderer.create(<Aside />); 20 expect(tree).toMatchSnapshot(); 25 expect(tree).toMatchSnapshot(); 29 const tree = renderer.create(<Main />); 30 expect(tree).toMatchSnapshot(); 35 expect(tree).toMatchSnapshot(); [all …]
|
| H A D | Anchor-test.tsx | 9 let tree; 11 tree = renderer.create(<A href="#" target="_parent" />); 13 expect(tree).toMatchSnapshot();
|
| H A D | Lists-test.tsx | 9 let tree; 11 tree = renderer.create( 20 expect(tree).toMatchSnapshot();
|
| H A D | Rules-test.tsx | 9 const tree = renderer.create(<HR />); 10 expect(tree).toMatchSnapshot();
|
| H A D | Headings-test.tsx | 11 const tree = renderer.create(<Heading />); 12 expect(tree).toMatchSnapshot();
|
| /expo/packages/html-elements/src/css/__tests__/ |
| H A D | createSafeStyledView.test.native.tsx | 22 const tree = renderer.create( 30 // expect(tree.root.children[0]).toHaveStyle({ position: 'absolute' }); 31 expect(tree).toMatchSnapshot(); 35 const tree = renderer.create( 42 expect(tree).toMatchSnapshot(); 47 const tree = renderer.create( 54 expect(tree).toMatchSnapshot();
|
| /expo/docs/mdx-plugins/ |
| H A D | remark-export-headings.js | 21 return tree => { 36 visit(tree, 'heading', visitor); 38 tree.children.push({
|
| H A D | remark-create-static-props.js | 5 return function transformer(tree) { argument 6 tree.children.push({
|
| H A D | remark-code-title.js | 7 return (tree, file) => { 12 visit(tree, 'code', node => {
|
| H A D | remark-export-headings.test.js | 71 function transform(tree, options = {}) { argument 72 exportHeadings(options)(tree); 74 const data = tree.children.find(node => node.type === 'mdxjsEsm').data.estree.body[0].declaration
|
| H A D | remark-link-rewrite.js | 36 return (tree, file) => { 44 visit(tree, 'link', node => {
|
| /expo/templates/expo-template-tabs/components/__tests__/ |
| H A D | StyledText-test.js | 7 const tree = renderer.create(<MonoText>Snapshot test!</MonoText>).toJSON(); constant 9 expect(tree).toMatchSnapshot();
|
| /expo/packages/expo-barcode-scanner/src/__tests__/ |
| H A D | BarCodeScanner-test.tsx | 9 const tree = renderer.create(<BarCodeScanner onBarCodeScanned={() => {}} />); 10 expect(tree).toMatchSnapshot();
|
| /expo/apps/ |
| H A D | README.md | 5 - #### [bare-expo](https://github.com/expo/expo/tree/main/apps/bare-expo) 7 - #### [jest-expo Mock Generator](https://github.com/expo/expo/tree/main/apps/jest-expo-mock-genera… 9 - #### [Home](https://github.com/expo/expo/tree/main/home) (not in this directory) 11 - #### [Native Component List](https://github.com/expo/expo/tree/main/apps/native-component-list) 13 - #### [Sandbox](https://github.com/expo/expo/tree/main/apps/sandbox) 15 - #### [Test Suite](https://github.com/expo/expo/tree/main/apps/test-suite)
|
| /expo/packages/expo-router/build/ |
| H A D | getRoutes.js | 11 const tree = { variable 20 let currentNode = tree; 48 assertDeprecatedFormat(tree); 50 return tree; 53 function assertDeprecatedFormat(tree) { argument 54 for (const child of tree.children) { 133 function fileNodeToRouteNode(tree) { argument 184 function treeNodeToRouteNode(tree) { argument 185 if (tree.node) { 186 return fileNodeToRouteNode(tree); [all …]
|
| /expo/packages/expo-router/src/ |
| H A D | getRoutes.ts | 35 const tree = { constant 45 let currentNode: TreeNode = tree; 77 assertDeprecatedFormat(tree); 80 return tree; 83 function assertDeprecatedFormat(tree: TreeNode) { 84 for (const child of tree.children) { 180 function fileNodeToRouteNode(tree: TreeNode): RouteNode[] | null { 181 const { name, node, children } = tree; 253 if (tree.node) { 254 return fileNodeToRouteNode(tree); [all …]
|
| /expo/packages/expo-gl/src/__tests__/ |
| H A D | GLView-test.tsx | 11 const tree = renderer.create(<GLView onContextCreate={() => {}} />); 12 expect(tree).toMatchSnapshot();
|
| /expo/packages/@expo/cli/src/start/server/metro/ |
| H A D | withMetroResolvers.ts | 155 const printRecursive = (tree: InverseDepResult, depth: number = 0) => { 156 let filename = path.relative(root, tree.origin); 160 let formattedRequest = chalk.green(`"${tree.request}"`); 167 tree.request.match(/^react-native\/.*/) 186 for (const child of tree.previous) { 190 tree.previous.length > 1 ? depth + 1 : depth
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | system-ui.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/main/packages/expo-system-ui' 12 **`expo-system-ui`** enables you to interact with UI elements that fall outside of the React tree. …
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | system-ui.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-48/packages/expo-system-ui' 12 **`expo-system-ui`** enables you to interact with UI elements that fall outside of the React tree. …
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | system-ui.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-46/packages/expo-system-ui' 12 **`expo-system-ui`** enables you to interact with UI elements that fall outside of the React tree. …
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | system-ui.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-49/packages/expo-system-ui' 12 **`expo-system-ui`** enables you to interact with UI elements that fall outside of the React tree. …
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | system-ui.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-47/packages/expo-system-ui' 12 **`expo-system-ui`** enables you to interact with UI elements that fall outside of the React tree. …
|