Home
last modified time | relevance | path

Searched refs:getConfig (Results 1 – 25 of 107) sorted by relevance

12345

/expo/packages/expo-modules-autolinking/src/autolinking/__tests__/
H A DextraDependencies-test.ts1 import { getConfig } from '@expo/config';
6 getConfig: jest.fn(),
9 const defaultConfig = { exp: {} } as ReturnType<typeof getConfig>;
13 (getConfig as jest.MockedFunction<typeof getConfig>).mockReturnValueOnce({
22 (getConfig as jest.MockedFunction<typeof getConfig>).mockReturnValueOnce({
33 (getConfig as jest.MockedFunction<typeof getConfig>).mockReturnValueOnce({
44 (getConfig as jest.MockedFunction<typeof getConfig>).mockReturnValueOnce({
57 (getConfig as jest.MockedFunction<typeof getConfig>).mockReturnValueOnce({
87 (getConfig as jest.MockedFunction<typeof getConfig>).mockReturnValueOnce({
/expo/packages/@expo/config/src/__tests__/
H A DConfigParsing-test.ts5 import { getConfig } from '../Config';
11 describe(getConfig, () => {
41 const { exp } = getConfig('/', {
80 const { exp, dynamicConfigPath, staticConfigPath } = getConfig('/', {
116 const { exp, staticConfigPath } = getConfig('/', {
141 const { exp } = getConfig('/', {
171 const { exp } = getConfig('/', {
191 const { exp } = getConfig('/', {
212 const { exp } = getConfig('/', {
235 getConfig('/', {
H A DgetConfig-e2e-test.ts4 import { getConfig } from '../Config';
41 describe(getConfig, () => {
45 const { exp } = getConfig(projectRoot, {
56 getConfig(projectRoot, {
64 const { exp } = getConfig(projectRoot, {
H A DWeb-test.ts3 import { getConfig, getWebOutputPath } from '../Config';
38 const { exp } = getConfig('/standard');
44 const { exp } = getConfig('/custom');
56 const { exp } = getConfig(project);
H A DConfig-test.ts3 import { getConfig, getProjectConfigDescriptionWithPaths } from '../Config';
97 const { exp } = getConfig('/private-data', { isPublicConfig: true });
112 const { exp } = getConfig('/no-private-data', { isPublicConfig: true });
159 const { exp } = getConfig('/from-config');
164 const { exp } = getConfig('/from-package');
192 const { exp, pkg } = getConfig('/no-package', { skipSDKVersionRequirement: true });
199 expect(() => getConfig('/no-config')).not.toThrow();
203 expect(() => getConfig('/no-package', { skipSDKVersionRequirement: false })).toThrow(
/expo/packages/expo-updates/plugin/src/__tests__/
H A DwithUpdates-test.ts10 const config = getConfig();
20 withUpdates(getConfig());
29 function getConfig(options = {}): ExpoConfig { function
/expo/packages/@expo/cli/src/prebuild/
H A DensureConfigAsync.ts1 import { ExpoConfig, getConfig, PackageJSONConfig } from '@expo/config';
20 const config = getConfig(projectRoot, { skipSDKVersionRequirement: false });
62 return getConfig(projectRoot);
/expo/packages/@expo/prebuild-config/build/
H A DgetPrebuildConfig.d.ts1 import { getConfig } from '@expo/config';
7 }): Promise<ReturnType<typeof getConfig>>;
/expo/packages/expo-updates/cli/__tests__/
H A Dconfigure-test.ts7 import { getConfig } from '@expo/config';
61 const configBefore = getConfig(projectRoot);
70 const config = getConfig(projectRoot);
107 const configBefore = getConfig(projectRoot);
118 const config = getConfig(projectRoot);
/expo/packages/@expo/cli/src/start/platforms/__tests__/
H A DAppIdResolver-test.ts1 import { getConfig } from '@expo/config';
8 getConfig: jest.fn(() => ({
47 asMock(getConfig).mockReturnValueOnce({
62 asMock(getConfig).mockReturnValueOnce({
/expo/packages/@expo/cli/src/customize/
H A Dtypescript.ts1 import { getConfig } from '@expo/config';
22 const { exp } = getConfig(projectRoot, { skipSDKVersionRequirement: true });
H A DcustomizeAsync.ts1 import { getConfig } from '@expo/config';
19 const { exp } = getConfig(projectRoot, {
/expo/packages/@expo/cli/src/start/doctor/web/__tests__/
H A DWebSupportProjectPrerequisite-test.ts1 import { getConfig, getProjectConfigDescriptionWithPaths, ProjectConfig } from '@expo/config';
14 getConfig: jest.fn(() => ({
78 asMock(getConfig).mockReturnValueOnce({
96 asMock(getConfig).mockReturnValueOnce({
/expo/packages/@expo/cli/src/start/platforms/android/__tests__/
H A DAndroidAppIdResolver-test.ts1 import { getConfig } from '@expo/config';
18 getConfig: jest.fn(() => ({
46 asMock(getConfig).mockReturnValueOnce({
/expo/packages/@expo/cli/src/export/
H A DgetPublicExpoManifest.ts1 import { ExpoConfig, getConfig } from '@expo/config';
13 const { exp } = getConfig(projectRoot, {
/expo/packages/@expo/cli/src/export/__tests__/
H A DresolveOptions-test.ts1 import { getConfig } from '@expo/config';
7 getConfig: jest.fn(() => ({
90 asMock(getConfig).mockReturnValueOnce({
/expo/packages/@expo/prebuild-config/src/
H A DgetPrebuildConfig.ts1 import { getConfig } from '@expo/config';
19 ): Promise<ReturnType<typeof getConfig>> {
43 let { exp: config, ...rest } = getConfig(projectRoot, {
/expo/packages/@expo/cli/src/export/web/
H A DexportWebAsync.ts1 import { getConfig } from '@expo/config';
19 const { exp } = getConfig(projectRoot);
/expo/packages/expo-constants/scripts/
H A DgetAppConfig.js1 const { getConfig } = require('@expo/config');
18 const { exp } = getConfig(projectRoot, {
/expo/packages/@expo/cli/src/start/platforms/
H A DAppIdResolver.ts1 import { getConfig, getProjectConfigDescriptionWithPaths } from '@expo/config';
31 const config = getConfig(this.projectRoot);
/expo/packages/@expo/cli/src/start/platforms/ios/__tests__/
H A DAppleAppIdResolver-test.ts1 import { getConfig } from '@expo/config';
19 getConfig: jest.fn(() => ({
63 asMock(getConfig).mockReturnValueOnce({
/expo/packages/@expo/fingerprint/__mocks__/@expo/
H A Dspawn-async.ts2 import { getConfig } from 'expo/config';
20 const config = await getConfig(projectRoot, { skipSDKVersionRequirement: true });
/expo/packages/expo-modules-autolinking/src/autolinking/
H A DextraDependencies.ts1 import { getConfig } from '@expo/config';
35 const { exp: config } = await getConfig(projectRoot, { skipSDKVersionRequirement: true });
/expo/packages/@expo/cli/src/run/
H A DstartBundler.ts1 import { getConfig } from '@expo/config';
44 const { exp } = getConfig(projectRoot, {
/expo/packages/@expo/cli/src/prebuild/__tests__/
H A DensureConfigAsync-test.ts1 import { getConfig } from '@expo/config';
40 const config = getConfig(projectRoot);

12345