Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 25 of 2128) sorted by relevance

12345678910>>...86

/expo/packages/html-elements/src/elements/__tests__/
H A DText-test.tsx26 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 DTable-test.tsx9 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 DLayout-test.tsx9 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 DAnchor-test.tsx9 let tree;
11 tree = renderer.create(<A href="#" target="_parent" />);
13 expect(tree).toMatchSnapshot();
H A DLists-test.tsx9 let tree;
11 tree = renderer.create(
20 expect(tree).toMatchSnapshot();
H A DRules-test.tsx9 const tree = renderer.create(<HR />);
10 expect(tree).toMatchSnapshot();
H A DHeadings-test.tsx11 const tree = renderer.create(<Heading />);
12 expect(tree).toMatchSnapshot();
/expo/packages/html-elements/src/css/__tests__/
H A DcreateSafeStyledView.test.native.tsx22 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 Dremark-export-headings.js21 return tree => {
36 visit(tree, 'heading', visitor);
38 tree.children.push({
H A Dremark-create-static-props.js5 return function transformer(tree) { argument
6 tree.children.push({
H A Dremark-code-title.js7 return (tree, file) => {
12 visit(tree, 'code', node => {
H A Dremark-export-headings.test.js71 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 Dremark-link-rewrite.js36 return (tree, file) => {
44 visit(tree, 'link', node => {
/expo/templates/expo-template-tabs/components/__tests__/
H A DStyledText-test.js7 const tree = renderer.create(<MonoText>Snapshot test!</MonoText>).toJSON(); constant
9 expect(tree).toMatchSnapshot();
/expo/packages/expo-barcode-scanner/src/__tests__/
H A DBarCodeScanner-test.tsx9 const tree = renderer.create(<BarCodeScanner onBarCodeScanned={() => {}} />);
10 expect(tree).toMatchSnapshot();
/expo/apps/
H A DREADME.md5 - #### [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 DgetRoutes.js11 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 DgetRoutes.ts35 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 DGLView-test.tsx11 const tree = renderer.create(<GLView onContextCreate={() => {}} />);
12 expect(tree).toMatchSnapshot();
/expo/packages/@expo/cli/src/start/server/metro/
H A DwithMetroResolvers.ts155 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 Dsystem-ui.mdx4 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 Dsystem-ui.mdx4 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 Dsystem-ui.mdx4 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 Dsystem-ui.mdx4 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 Dsystem-ui.mdx4 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. …

12345678910>>...86