Home
last modified time | relevance | path

Searched refs:readFileSync (Results 1 – 25 of 145) sorted by relevance

123456

/expo/packages/@expo/config-plugins/src/android/__tests__/
H A DrenamePackageOnDisk-test.ts47 expect(fs.readFileSync(mainActivityPath).toString()).toMatch('package xyz.bront.app');
52 expect(fs.readFileSync(nestedClassPath).toString()).toMatch('package xyz.bront.app');
53 expect(fs.readFileSync(nestedClassPath).toString()).not.toMatch('com.lololol');
56 expect(fs.readFileSync(buckPath).toString()).toMatch('package = "xyz.bront.app"');
57 expect(fs.readFileSync(buckPath).toString()).not.toMatch('com.lololol');
64 expect(fs.readFileSync(mainActivityPath).toString()).toMatch('package com.bront');
/expo/packages/@expo/config-plugins/src/ios/__tests__/
H A DProvisioningProfile-test.ts25 [pbxProjPath]: originalFs.readFileSync(
37 const pbxprojContents = fs.readFileSync(path.join(projectRoot, pbxProjPath), 'utf-8');
44 [pbxProjPath]: originalFs.readFileSync(
56 const pbxprojContents = fs.readFileSync(path.join(projectRoot, pbxProjPath), 'utf-8');
76 const pbxprojContents = fs.readFileSync(path.join(projectRoot, pbxProjPath), 'utf-8');
84 const pbxprojContents = fs.readFileSync(path.join(projectRoot, pbxProjPath), 'utf-8');
H A DTarget-test.ts18 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync(
23 originalFs.readFileSync(path.join(__dirname, 'fixtures/multitarget.xcscheme'), 'utf-8'),
44 'ios/easwatchtest.xcodeproj/project.pbxproj': originalFs.readFileSync(
49 originalFs.readFileSync(path.join(__dirname, 'fixtures/watch.xcscheme'), 'utf-8'),
72 'ios/myapp.xcodeproj/project.pbxproj': originalFs.readFileSync(
76 'ios/myapp.xcodeproj/xcshareddata/xcschemes/myapp.xcscheme': originalFs.readFileSync(
H A DBundleIdentifier-test.ts64 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync(
69 originalFs.readFileSync(
85 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync(
90 originalFs.readFileSync(
141 const pbxprojContents = memfs.readFileSync(path.join(projectRoot, pbxProjPath), 'utf-8');
142 const otherPbxprojContents = memfs.readFileSync(
H A DBuildScheme-test.ts19 'ios/project.xcodeproj/project.pbxproj': fsReal.readFileSync(
46 fsReal.readFileSync(path.join(__dirname, 'fixtures/testproject.xcscheme'), 'utf-8'),
72 fsReal.readFileSync(path.join(__dirname, 'fixtures/testproject-2.xcscheme'), 'utf-8'),
100 fsReal.readFileSync(path.join(__dirname, 'fixtures/testproject.xcscheme'), 'utf-8'),
H A DUpdates-test.ts26 '/app/hello': fsReal.readFileSync(sampleCodeSigningCertificatePath, 'utf-8'),
59 EXUpdatesCodeSigningCertificate: fsReal.readFileSync(
78 'ios/testproject.xcodeproj/project.pbxproj': fsReal.readFileSync(
103 'workspace/ios/testproject.xcodeproj/project.pbxproj': fsReal.readFileSync(
H A DEntitlements-test.ts50 'ios/testproject.xcodeproj/project.pbxproj': fsReal.readFileSync(
70 'ios/testproject.xcodeproj/project.pbxproj': fsReal.readFileSync(
115 'ios/testproject.xcodeproj/project.pbxproj': fsReal.readFileSync(
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/monorepo/__tests__/
H A Dfor-each-package-test.js11 const {readdirSync, readFileSync} = require('fs');
17 readFileSync: jest.fn(), property
30 readFileSync.mockImplementationOnce(() => mockedPackageManifest);
/expo/packages/@expo/cli/src/export/__tests__/
H A DwriteContents-test.ts23 expect(vol.readFileSync(path.join(projectRoot, 'debug.html'), 'utf8')).toMatchSnapshot();
54 expect(vol.readFileSync(path.join(projectRoot, results.fileNames.ios!), 'utf8')).toBe(contents);
74 expect(vol.readFileSync(path.join(projectRoot, results.fileNames.ios!))).toBeDefined();
96 JSON.parse(vol.readFileSync(path.join(projectRoot, 'assetmap.json'), 'utf8') as string)
140 expect(vol.readFileSync(path.join(projectRoot, item.fileName), 'utf8')).toBe(item.map);
142 vol.readFileSync(path.join(projectRoot, `${item.platform}-${item.hash}.js`), 'utf8')
/expo/packages/@expo/metro-config/src/transformer/
H A DgetCacheKey.ts2 import { readFileSync } from 'fs';
5 readFileSync(__filename),
/expo/packages/@expo/cli/src/start/server/type-generation/__tests__/
H A DstartTypescriptTypeGeneration.test.ts49 expect(fs.readFileSync('/expo-env.d.ts', 'utf8')).toMatch(`/// <reference types="expo/types" />
52 expect(fs.readFileSync('/.gitignore', 'utf8')).toMatch('expo-env.d.ts');
95 expect(fs.readFileSync('/.gitignore', 'utf8')).not.toMatch('expo-env.d.ts');
140 expect(fs.readFileSync('/.gitignore', 'utf8')).not.toMatch('expo-env.d.ts');
/expo/packages/@expo/cli/src/utils/__tests__/
H A DmergeGitIgnorePaths-test.ts145 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
155 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(`
188 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(`
214 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
239 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
280 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
/expo/packages/@expo/cli/src/run/ios/codeSigning/__tests__/
H A DxcodeCodeSigning-test.ts21 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync(
64 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync(
82 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync(
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/__tests__/
H A Dhermes-utils-test.js142 fs.readFileSync(path.join(SDKS_DIR, '.hermesversion'), {
165 fs.readFileSync(
214 fs.readFileSync(
222 fs.readFileSync(
237 fs.readFileSync(
245 fs.readFileSync(
/expo/packages/@expo/config-plugins/src/ios/utils/__tests__/
H A DgetInfoPlistPath-test.ts15 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync(
20 originalFs.readFileSync(
/expo/packages/expo-yarn-workspaces/bin/
H A Dmake-entry-module.js37 mainModuleCode = fs.readFileSync(mainModulePath, 'utf8');
62 const template = fs.readFileSync(path.join(__dirname, 'AppEntry.template.js'), 'utf8');
81 json = fs.readFileSync(path.join(projectPath, 'package.json'), 'utf8');
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/monorepo/
H A Dfor-each-package.js11 const {readdirSync, readFileSync} = require('fs');
52 readFileSync(path.join(packageAbsolutePath, 'package.json')),
/expo/packages/@expo/config-plugins/src/plugins/__tests__/
H A DwithIosBaseMods-test.ts62 .readFileSync(
68 .readFileSync(
132 .readFileSync(
138 .readFileSync(
/expo/packages/@expo/cli/src/utils/
H A DmergeGitIgnorePaths.ts38 const targetGitIgnore = fs.readFileSync(targetGitIgnorePath).toString();
39 const sourceGitIgnore = fs.readFileSync(sourceGitIgnorePath).toString();
121 const targetGitIgnore = fs.readFileSync(targetGitIgnorePath, {
181 let targetGitIgnore = fs.readFileSync(targetGitIgnorePath, 'utf-8');
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/
H A Dcompose-source-maps.js34 fs.readFileSync(packagerSourcemapPath, 'utf8'),
37 fs.readFileSync(compilerSourcemapPath, 'utf8'),
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/
H A Dcompose-source-maps.js34 fs.readFileSync(packagerSourcemapPath, 'utf8'),
37 fs.readFileSync(compilerSourcemapPath, 'utf8'),
/expo/packages/@expo/prebuild-config/src/plugins/__tests__/fixtures/
H A Dreact-native-project.ts72 const contents = fs.readFileSync(p);
75 const contents = fs.readFileSync(p, 'utf-8');
/expo/packages/expo/scripts/
H A Dcompose-source-maps.js35 const packagerSourcemap = JSON.parse(fs.readFileSync(packagerSourcemapPath, 'utf8'));
36 const compilerSourcemap = JSON.parse(fs.readFileSync(compilerSourcemapPath, 'utf8'));
/expo/packages/@expo/config-plugins/src/plugins/__tests__/fixtures/
H A Dreact-native-project.ts71 const contents = fs.readFileSync(p);
74 const contents = fs.readFileSync(p, 'utf-8');
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/
H A Dcompose-source-maps.js34 fs.readFileSync(packagerSourcemapPath, 'utf8'),
37 fs.readFileSync(compilerSourcemapPath, 'utf8'),

123456