Home
last modified time | relevance | path

Searched refs:toJSON (Results 1 – 25 of 46) sorted by relevance

12

/expo/packages/expo-dev-client-components/src/__tests__/
H A Dcreate-primitive.test.tsx17 const { toJSON: viewJSON } = render(<Box />);
36 const json: any = toJSON();
49 const json: any = toJSON();
61 const json: any = toJSON();
103 const { toJSON, rerender } = render(
109 const darkThemeRender: any = toJSON();
121 const lightThemeRender: any = toJSON();
133 const { toJSON, rerender } = render(
139 const darkThemeRender: any = toJSON();
148 const lightThemeRender: any = toJSON();
[all …]
/expo/packages/@expo/cli/src/start/server/metro/__tests__/
H A Dexternals.test.ts33 expect(Object.keys(vol.toJSON()).length).toBeGreaterThan(42);
34 expect(vol.toJSON()['/.expo/metro/polyfill.native.js']).toBeDefined();
35 expect(vol.toJSON()['/.expo/metro/polyfill.js']).toBeDefined();
36 expect(vol.toJSON()['/.expo/metro/externals/fs/promises/index.js']).toBeDefined();
37 expect(vol.toJSON()['/.expo/metro/externals/assert/index.js']).toBeDefined();
/expo/packages/@expo/config-plugins/src/android/__tests__/
H A DPackage-test.ts74 expect(vol.toJSON()[originalPath]).toBeDefined();
81 const results = vol.toJSON();
99 const results = vol.toJSON();
119 const results = vol.toJSON();
/expo/packages/@expo/prebuild-config/src/plugins/unversioned/expo-splash-screen/__tests__/
H A DwithAndroidSplashImages-test.ts63 const results = vol.toJSON();
100 const results = vol.toJSON();
132 const results = vol.toJSON();
H A DwithIosSplashScreen-test.ts84 const after = getDirFromFS(vol.toJSON(), path.join(projectRoot, 'ios'));
130 const after = getDirFromFS(vol.toJSON(), path.join(projectRoot, 'ios'));
/expo/packages/expo-notifications/plugin/src/__tests__/
H A DwithNotificationsAndroid-test.ts95 const after = getDirFromFS(vol.toJSON(), projectRoot);
100 const before = getDirFromFS(vol.toJSON(), projectRoot);
107 const after = getDirFromFS(vol.toJSON(), projectRoot);
113 const final = getDirFromFS(vol.toJSON(), projectRoot);
H A DwithNotificationsiOS-test.ts53 const after = getDirFromFS(vol.toJSON(), projectRoot);
/expo/packages/@expo/cli/src/start/server/type-generation/__tests__/
H A DstartTypescriptTypeGeneration.test.ts39 expect(Object.keys(vol.toJSON())).toEqual([
87 expect(Object.keys(vol.toJSON())).toEqual([
130 expect(Object.keys(vol.toJSON())).toEqual([
/expo/packages/@expo/config-plugins/src/utils/__tests__/
H A Dfs-test.ts35 expect(vol.toJSON(projectRoot)).toEqual({
60 expect(vol.toJSON(projectRoot)).toEqual({});
/expo/packages/html-elements/src/primitives/__tests__/
H A DcreateDevView.test.tsx29 .toJSON();
48 expect(renderer.create(<View>Hey</View>).toJSON()).toMatchSnapshot();
/expo/templates/expo-template-tabs/components/__tests__/
H A DStyledText-test.js7 const tree = renderer.create(<MonoText>Snapshot test!</MonoText>).toJSON();
/expo/packages/expo-modules-autolinking/build/
H A DExpoModuleConfig.d.ts51 toJSON(): RawExpoModuleConfig;
H A DExpoModuleConfig.js85 toJSON() { method in ExpoModuleConfig
/expo/packages/expo-linear-gradient/src/__tests__/
H A DLinearGradient-test.native.tsx16 expect(screen.toJSON()).toMatchSnapshot();
/expo/packages/expo-blur/src/__tests__/
H A DBlurView-test.android.tsx10 expect(screen.toJSON()).toMatchSnapshot();
H A DBlurView-test.ios.tsx10 expect(screen.toJSON()).toMatchSnapshot();
/expo/packages/@expo/cli/src/start/project/__tests__/
H A DdotExpo-test.ts18 expect(vol.toJSON()).toEqual({});
/expo/packages/@expo/cli/src/utils/__tests__/
H A DdownloadExpoGoAsync-test.ts127 expect(vol.toJSON()[generatedOutput]).toBeDefined();
157 expect(vol.toJSON()[generatedOutput]).not.toBeDefined();
/expo/packages/@expo/cli/src/export/__tests__/
H A DexportApp-test.ts66 expect(vol.toJSON()).toStrictEqual({
/expo/packages/@expo/config-plugins/src/plugins/__tests__/
H A DwithIosBaseMods-test.ts53 expect(vol.toJSON()).toStrictEqual({});
221 expect(vol.toJSON()).toStrictEqual({});
/expo/packages/@expo/cli/src/start/server/webpack/__tests__/
H A Dtls-test.ts50 expect(vol.toJSON()).toEqual({
/expo/packages/@expo/config-plugins/src/ios/__tests__/
H A DLocales-test.ts65 const after = getDirFromFS(vol.toJSON(), projectRoot);
/expo/packages/expo-modules-autolinking/src/
H A DExpoModuleConfig.ts95 toJSON(): RawExpoModuleConfig { method in ExpoModuleConfig
/expo/packages/@expo/prebuild-config/src/plugins/icons/__tests__/
H A DwithAndroidIcons-test.ts145 const after = getDirFromFS(vol.toJSON(), projectRoot);
191 const after = getDirFromFS(vol.toJSON(), projectRoot);
H A DwithIosIcons-test.ts85 const after = getDirFromFS(vol.toJSON(), projectRoot);

12