| /expo/packages/@expo/config-plugins/src/android/__tests__/ |
| H A D | renamePackageOnDisk-test.ts | 47 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 D | ProvisioningProfile-test.ts | 25 [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 D | Target-test.ts | 18 '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 D | BundleIdentifier-test.ts | 64 '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 D | BuildScheme-test.ts | 19 '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 D | Updates-test.ts | 26 '/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 D | Entitlements-test.ts | 50 '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 D | for-each-package-test.js | 11 const {readdirSync, readFileSync} = require('fs'); 17 readFileSync: jest.fn(), property 30 readFileSync.mockImplementationOnce(() => mockedPackageManifest);
|
| /expo/packages/@expo/cli/src/export/__tests__/ |
| H A D | writeContents-test.ts | 23 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 D | getCacheKey.ts | 2 import { readFileSync } from 'fs'; 5 readFileSync(__filename),
|
| /expo/packages/@expo/cli/src/start/server/type-generation/__tests__/ |
| H A D | startTypescriptTypeGeneration.test.ts | 49 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 D | mergeGitIgnorePaths-test.ts | 145 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 D | xcodeCodeSigning-test.ts | 21 '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 D | hermes-utils-test.js | 142 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 D | getInfoPlistPath-test.ts | 15 'ios/testproject.xcodeproj/project.pbxproj': originalFs.readFileSync( 20 originalFs.readFileSync(
|
| /expo/packages/expo-yarn-workspaces/bin/ |
| H A D | make-entry-module.js | 37 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 D | for-each-package.js | 11 const {readdirSync, readFileSync} = require('fs'); 52 readFileSync(path.join(packageAbsolutePath, 'package.json')),
|
| /expo/packages/@expo/config-plugins/src/plugins/__tests__/ |
| H A D | withIosBaseMods-test.ts | 62 .readFileSync( 68 .readFileSync( 132 .readFileSync( 138 .readFileSync(
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | mergeGitIgnorePaths.ts | 38 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 D | compose-source-maps.js | 34 fs.readFileSync(packagerSourcemapPath, 'utf8'), 37 fs.readFileSync(compilerSourcemapPath, 'utf8'),
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/ |
| H A D | compose-source-maps.js | 34 fs.readFileSync(packagerSourcemapPath, 'utf8'), 37 fs.readFileSync(compilerSourcemapPath, 'utf8'),
|
| /expo/packages/@expo/prebuild-config/src/plugins/__tests__/fixtures/ |
| H A D | react-native-project.ts | 72 const contents = fs.readFileSync(p); 75 const contents = fs.readFileSync(p, 'utf-8');
|
| /expo/packages/expo/scripts/ |
| H A D | compose-source-maps.js | 35 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 D | react-native-project.ts | 71 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 D | compose-source-maps.js | 34 fs.readFileSync(packagerSourcemapPath, 'utf8'), 37 fs.readFileSync(compilerSourcemapPath, 'utf8'),
|