mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-15 17:42:36 +08:00
feat: fix
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1 +1 @@
|
||||
{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":{"path":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":108,"column":2}}},"fnMap":{},"branchMap":{"0":{"loc":{"start":{"line":4,"column":11},"end":{"line":4,"column":47}},"type":"cond-expr","locations":[{"start":{"line":4,"column":28},"end":{"line":4,"column":35}},{"start":{"line":4,"column":38},"end":{"line":4,"column":47}}],"line":4},"1":{"loc":{"start":{"line":9,"column":18},"end":{"line":9,"column":48}},"type":"cond-expr","locations":[{"start":{"line":9,"column":35},"end":{"line":9,"column":36}},{"start":{"line":9,"column":39},"end":{"line":9,"column":48}}],"line":9},"2":{"loc":{"start":{"line":15,"column":11},"end":{"line":15,"column":49}},"type":"cond-expr","locations":[{"start":{"line":15,"column":28},"end":{"line":15,"column":37}},{"start":{"line":15,"column":40},"end":{"line":15,"column":49}}],"line":15},"3":{"loc":{"start":{"line":16,"column":18},"end":{"line":16,"column":56}},"type":"cond-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":44}},{"start":{"line":16,"column":47},"end":{"line":16,"column":56}}],"line":16},"4":{"loc":{"start":{"line":57,"column":15},"end":{"line":57,"column":49}},"type":"cond-expr","locations":[{"start":{"line":57,"column":32},"end":{"line":57,"column":37}},{"start":{"line":57,"column":40},"end":{"line":57,"column":49}}],"line":57}},"s":{"0":1},"f":{},"b":{"0":[0,1],"1":[0,1],"2":[0,1],"3":[0,1],"4":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"15012f7c1e880b295a4405f1f24fb4c7f92b5a37","contentHash":"54a5f7f2998fe55bc235e057d2ad9c72f0af3a0f4dc8e055145cd02b6f313000"}}
|
||||
{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":{"path":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js","statementMap":{"0":{"start":{"line":2,"column":0},"end":{"line":110,"column":2}}},"fnMap":{},"branchMap":{"0":{"loc":{"start":{"line":4,"column":11},"end":{"line":4,"column":47}},"type":"cond-expr","locations":[{"start":{"line":4,"column":28},"end":{"line":4,"column":35}},{"start":{"line":4,"column":38},"end":{"line":4,"column":47}}],"line":4},"1":{"loc":{"start":{"line":9,"column":18},"end":{"line":9,"column":48}},"type":"cond-expr","locations":[{"start":{"line":9,"column":35},"end":{"line":9,"column":36}},{"start":{"line":9,"column":39},"end":{"line":9,"column":48}}],"line":9},"2":{"loc":{"start":{"line":15,"column":11},"end":{"line":15,"column":49}},"type":"cond-expr","locations":[{"start":{"line":15,"column":28},"end":{"line":15,"column":37}},{"start":{"line":15,"column":40},"end":{"line":15,"column":49}}],"line":15},"3":{"loc":{"start":{"line":16,"column":18},"end":{"line":16,"column":56}},"type":"cond-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":44}},{"start":{"line":16,"column":47},"end":{"line":16,"column":56}}],"line":16},"4":{"loc":{"start":{"line":58,"column":15},"end":{"line":58,"column":49}},"type":"cond-expr","locations":[{"start":{"line":58,"column":32},"end":{"line":58,"column":37}},{"start":{"line":58,"column":40},"end":{"line":58,"column":49}}],"line":58}},"s":{"0":1},"f":{},"b":{"0":[0,1],"1":[0,1],"2":[0,1],"3":[0,1],"4":[0,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"58bedfd3138217937b7d396abd7b0c5826481f79","contentHash":"522b38643de93a23c72e2d1e6fe4f7c043965dd9f6c9c9782d17180545d4bfd3"}}
|
||||
@@ -0,0 +1 @@
|
||||
{"parent":"f45cbde3-af32-4880-b276-321a181077f9","pid":95187,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/jest","--config","e2e/jest.config.js","e2e"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1680248198332,"ppid":95181,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6.json","externalId":"","uuid":"19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts"]}
|
||||
@@ -1 +0,0 @@
|
||||
{"parent":"60df4119-cdb5-42e8-b18d-1824b91df493","pid":80718,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1680173770091,"ppid":80717,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/567d30c0-af7c-4538-9e48-28df65ccd884.json","externalId":"","uuid":"567d30c0-af7c-4538-9e48-28df65ccd884","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js"]}
|
||||
@@ -1 +0,0 @@
|
||||
{"parent":null,"pid":80717,"argv":["/usr/local/bin/node","/opt/homebrew/bin/yarn","detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1680173769754,"ppid":80716,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/60df4119-cdb5-42e8-b18d-1824b91df493.json","externalId":"","uuid":"60df4119-cdb5-42e8-b18d-1824b91df493","files":[]}
|
||||
@@ -1 +0,0 @@
|
||||
{"parent":"567d30c0-af7c-4538-9e48-28df65ccd884","pid":80721,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/jest","--config","e2e/jest.config.js","e2e"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1680173770580,"ppid":80718,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/bde696d3-4a44-487f-8de9-212c3afe82bf.json","externalId":"","uuid":"bde696d3-4a44-487f-8de9-212c3afe82bf","files":[]}
|
||||
@@ -0,0 +1 @@
|
||||
{"parent":null,"pid":95180,"argv":["/usr/local/bin/node","/opt/homebrew/bin/yarn","detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1680248197419,"ppid":95177,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/d981de3a-162c-4c70-80a9-84bb168e00d7.json","externalId":"","uuid":"d981de3a-162c-4c70-80a9-84bb168e00d7","files":[]}
|
||||
@@ -0,0 +1 @@
|
||||
{"parent":"d981de3a-162c-4c70-80a9-84bb168e00d7","pid":95181,"argv":["/usr/local/bin/node","/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/node_modules/.bin/detox","test","--configuration","android.emu.release"],"execArgv":[],"cwd":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate","time":1680248197907,"ppid":95180,"coverageFilename":"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/.nyc_output/f45cbde3-af32-4880-b276-321a181077f9.json","externalId":"","uuid":"f45cbde3-af32-4880-b276-321a181077f9","files":["/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js"]}
|
||||
@@ -1 +1 @@
|
||||
{"processes":{"567d30c0-af7c-4538-9e48-28df65ccd884":{"parent":"60df4119-cdb5-42e8-b18d-1824b91df493","children":[]},"60df4119-cdb5-42e8-b18d-1824b91df493":{"parent":null,"children":["567d30c0-af7c-4538-9e48-28df65ccd884"]}},"files":{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":["567d30c0-af7c-4538-9e48-28df65ccd884"]},"externalIds":{}}
|
||||
{"processes":{"19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6":{"parent":"f45cbde3-af32-4880-b276-321a181077f9","children":[]},"d981de3a-162c-4c70-80a9-84bb168e00d7":{"parent":null,"children":["f45cbde3-af32-4880-b276-321a181077f9"]},"f45cbde3-af32-4880-b276-321a181077f9":{"parent":"d981de3a-162c-4c70-80a9-84bb168e00d7","children":["19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6"]}},"files":{"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/e2e/globalSetup.ts":["19bd8c73-3fb6-4ed1-a0bb-38f0a5fd9ee6"],"/Users/arvinh/Desktop/remotework/react-native-pushy/Example/testHotUpdate/detox.config.js":["f45cbde3-af32-4880-b276-321a181077f9"]},"externalIds":{}}
|
||||
@@ -37,8 +37,8 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
||||
# your application. You should enable this flag either if you want
|
||||
# to write custom TurboModules/Fabric components OR use libraries that
|
||||
# are providing them.
|
||||
newArchEnabled=true
|
||||
newArchEnabled=false
|
||||
|
||||
# Use this property to enable or disable the Hermes JS engine.
|
||||
# If set to false, you will be using JSC instead.
|
||||
hermesEnabled=true
|
||||
hermesEnabled=true
|
||||
@@ -1,100 +1,78 @@
|
||||
/** @type {Detox.DetoxConfig} */
|
||||
module.exports = {
|
||||
logger: {
|
||||
level: process.env.CI ? 'debug' : undefined,
|
||||
},
|
||||
testRunner: {
|
||||
args: {
|
||||
$0: 'jest',
|
||||
config: 'e2e/jest.config.js',
|
||||
maxWorkers: process.env.CI ? 2 : undefined,
|
||||
_: ['e2e'],
|
||||
},
|
||||
},
|
||||
artifacts: {
|
||||
plugins: {
|
||||
log: process.env.CI ? 'failing' : undefined,
|
||||
screenshot: process.env.CI ? 'failing' : undefined,
|
||||
jest: {
|
||||
setupTimeout: 120000,
|
||||
},
|
||||
},
|
||||
apps: {
|
||||
'ios.debug': {
|
||||
type: 'ios.app',
|
||||
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/testHotUpdate.app',
|
||||
build:
|
||||
'xcodebuild -workspace ios/testHotUpdate.xcworkspace -scheme testHotUpdate -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
|
||||
},
|
||||
'ios.release': {
|
||||
type: 'ios.app',
|
||||
binaryPath:
|
||||
'ios/build/Build/Products/Release-iphonesimulator/testHotUpdate.app',
|
||||
build:
|
||||
'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet',
|
||||
'xcodebuild -workspace ios/testHotUpdate.xcworkspace -scheme testHotUpdate -configuration Release -sdk iphonesimulator -derivedDataPath ios/build',
|
||||
},
|
||||
"ios.debug": {
|
||||
"type": "ios.app",
|
||||
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/testHotUpdate.app",
|
||||
"build": "xcodebuild -workspace ios/testHotUpdate.xcworkspace -UseNewBuildSystem=NO -scheme testHotUpdate -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
||||
"start": "scripts/start-rn.sh ios",
|
||||
},
|
||||
"android.debug": {
|
||||
"type": "android.apk",
|
||||
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
|
||||
"build": "cd android ; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -",
|
||||
"start": "scripts/start-rn.sh android",
|
||||
'android.debug': {
|
||||
type: 'android.apk',
|
||||
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
|
||||
build:
|
||||
'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug',
|
||||
reversePorts: [8081],
|
||||
},
|
||||
'android.release': {
|
||||
type: 'android.apk',
|
||||
binaryPath: 'android/app/build/outputs/apk/release/app-release.apk',
|
||||
build:
|
||||
'cd android ; ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -',
|
||||
'cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release',
|
||||
},
|
||||
},
|
||||
devices: {
|
||||
simulator: {
|
||||
type: 'ios.simulator',
|
||||
headless: Boolean(process.env.CI),
|
||||
device: {
|
||||
type: 'iPhone 14',
|
||||
},
|
||||
},
|
||||
attached: {
|
||||
type: 'android.attached',
|
||||
device: {
|
||||
adbName: '.*',
|
||||
},
|
||||
},
|
||||
emulator: {
|
||||
type: 'android.emulator',
|
||||
headless: Boolean(process.env.CI),
|
||||
gpuMode: process.env.CI ? 'off' : undefined,
|
||||
device: {
|
||||
avdName: 'TestingAVD',
|
||||
avdName: 'Pixel_3a_API_33_arm64-v8a',
|
||||
},
|
||||
utilBinaryPaths: ['./cache/test-butler-app.apk'],
|
||||
},
|
||||
'genymotion.emulator.uuid': {
|
||||
type: 'android.genycloud',
|
||||
device: {
|
||||
recipeUUID: 'a50a71d6-da90-4c67-bdfa-5b602b0bbd15',
|
||||
},
|
||||
utilBinaryPaths: ['./cache/test-butler-app.apk'],
|
||||
},
|
||||
'genymotion.emulator.name': {
|
||||
type: 'android.genycloud',
|
||||
device: {
|
||||
recipeName: 'TestingAVD',
|
||||
},
|
||||
utilBinaryPaths: ['./cache/test-butler-app.apk'],
|
||||
},
|
||||
},
|
||||
configurations: {
|
||||
'ios.sim.release': {
|
||||
device: 'simulator',
|
||||
app: 'ios.release',
|
||||
},
|
||||
'ios.sim.debug': {
|
||||
device: 'simulator',
|
||||
app: 'ios.debug',
|
||||
},
|
||||
'ios.manual': {
|
||||
type: 'ios.manual',
|
||||
behavior: {
|
||||
launchApp: 'manual',
|
||||
},
|
||||
artifacts: false,
|
||||
session: {
|
||||
autoStart: true,
|
||||
server: 'ws://localhost:8099',
|
||||
sessionId: 'com.wix.demo.react.native',
|
||||
},
|
||||
'ios.sim.release': {
|
||||
device: 'simulator',
|
||||
app: 'ios.release',
|
||||
},
|
||||
'android.att.debug': {
|
||||
device: 'attached',
|
||||
app: 'android.debug',
|
||||
},
|
||||
'android.att.release': {
|
||||
device: 'attached',
|
||||
app: 'android.release',
|
||||
},
|
||||
'android.emu.debug': {
|
||||
device: 'emulator',
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user