Remove detox
This commit is contained in:
-86
@@ -1,86 +0,0 @@
|
|||||||
/** @type {Detox.DetoxConfig} */
|
|
||||||
module.exports = {
|
|
||||||
testRunner: {
|
|
||||||
args: {
|
|
||||||
$0: 'jest',
|
|
||||||
config: '__e2e__/jest.config.js',
|
|
||||||
},
|
|
||||||
jest: {
|
|
||||||
setupTimeout: 120000,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
apps: {
|
|
||||||
'ios.debug': {
|
|
||||||
type: 'ios.app',
|
|
||||||
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/bluesky.app',
|
|
||||||
build:
|
|
||||||
'xcodebuild -workspace ios/Bluesky.xcworkspace -scheme Bluesky -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
|
|
||||||
},
|
|
||||||
'ios.release': {
|
|
||||||
type: 'ios.app',
|
|
||||||
binaryPath:
|
|
||||||
'ios/build/Build/Products/Release-iphonesimulator/bluesky.app',
|
|
||||||
build:
|
|
||||||
'xcodebuild -workspace ios/Bluesky.xcworkspace -scheme Bluesky -configuration Release -sdk iphonesimulator -derivedDataPath ios/build',
|
|
||||||
},
|
|
||||||
'android.debug': {
|
|
||||||
type: 'android.apk',
|
|
||||||
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
|
|
||||||
build:
|
|
||||||
'cd android ; ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug ; cd -',
|
|
||||||
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 -',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
devices: {
|
|
||||||
simulator: {
|
|
||||||
type: 'ios.simulator',
|
|
||||||
device: {
|
|
||||||
type: 'iPhone 15 Pro',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
attached: {
|
|
||||||
type: 'android.attached',
|
|
||||||
device: {
|
|
||||||
adbName: '.*',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
emulator: {
|
|
||||||
type: 'android.emulator',
|
|
||||||
device: {
|
|
||||||
avdName: 'Pixel_3a_API_30_x86',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
configurations: {
|
|
||||||
'ios.sim.debug': {
|
|
||||||
device: 'simulator',
|
|
||||||
app: 'ios.debug',
|
|
||||||
},
|
|
||||||
'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',
|
|
||||||
app: 'android.debug',
|
|
||||||
},
|
|
||||||
'android.emu.release': {
|
|
||||||
device: 'emulator',
|
|
||||||
app: 'android.release',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -9,7 +9,6 @@ module.exports = {
|
|||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
plugins: [
|
plugins: [
|
||||||
'@typescript-eslint',
|
'@typescript-eslint',
|
||||||
'detox',
|
|
||||||
'react',
|
'react',
|
||||||
'lingui',
|
'lingui',
|
||||||
'simple-import-sort',
|
'simple-import-sort',
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
"typecheck": "tsc --project ./tsconfig.check.json",
|
"typecheck": "tsc --project ./tsconfig.check.json",
|
||||||
"e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts",
|
"e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts",
|
||||||
"e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
|
"e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
|
||||||
"e2e:build": "NODE_ENV=test detox build -c ios.sim.debug",
|
|
||||||
"e2e:run": "maestro test .maestro",
|
"e2e:run": "maestro test .maestro",
|
||||||
"perf:test": "NODE_ENV=test maestro test",
|
"perf:test": "NODE_ENV=test maestro test",
|
||||||
"perf:test:run": "NODE_ENV=test maestro test __e2e__/maestro/scroll.yaml",
|
"perf:test:run": "NODE_ENV=test maestro test __e2e__/maestro/scroll.yaml",
|
||||||
@@ -239,10 +238,8 @@
|
|||||||
"babel-plugin-module-resolver": "^5.0.0",
|
"babel-plugin-module-resolver": "^5.0.0",
|
||||||
"babel-plugin-react-native-web": "^0.18.12",
|
"babel-plugin-react-native-web": "^0.18.12",
|
||||||
"babel-preset-expo": "^10.0.0",
|
"babel-preset-expo": "^10.0.0",
|
||||||
"detox": "^20.14.8",
|
|
||||||
"eslint": "^8.19.0",
|
"eslint": "^8.19.0",
|
||||||
"eslint-plugin-bsky-internal": "link:./eslint",
|
"eslint-plugin-bsky-internal": "link:./eslint",
|
||||||
"eslint-plugin-detox": "^1.0.0",
|
|
||||||
"eslint-plugin-ft-flow": "^2.0.3",
|
"eslint-plugin-ft-flow": "^2.0.3",
|
||||||
"eslint-plugin-lingui": "^0.2.0",
|
"eslint-plugin-lingui": "^0.2.0",
|
||||||
"eslint-plugin-react": "^7.33.2",
|
"eslint-plugin-react": "^7.33.2",
|
||||||
|
|||||||
@@ -10719,47 +10719,6 @@ detect-port-alt@^1.1.6:
|
|||||||
address "^1.0.1"
|
address "^1.0.1"
|
||||||
debug "^2.6.0"
|
debug "^2.6.0"
|
||||||
|
|
||||||
detox@^20.14.8:
|
|
||||||
version "20.14.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/detox/-/detox-20.14.8.tgz#0a550cf677fc98a68d56d162e1c5caad317de9ca"
|
|
||||||
integrity sha512-3E/0/7Cb7x+wcBsZpCxD8FykZUsFnfVT00d6PWH940boc0Mo1Kzabh+I151X/On4qZMqVdUzgwmap/z8g/kmaw==
|
|
||||||
dependencies:
|
|
||||||
ajv "^8.6.3"
|
|
||||||
bunyan "^1.8.12"
|
|
||||||
bunyan-debug-stream "^3.1.0"
|
|
||||||
caf "^15.0.1"
|
|
||||||
chalk "^4.0.0"
|
|
||||||
child-process-promise "^2.2.0"
|
|
||||||
execa "^5.1.1"
|
|
||||||
find-up "^5.0.0"
|
|
||||||
fs-extra "^11.0.0"
|
|
||||||
funpermaproxy "^1.1.0"
|
|
||||||
glob "^8.0.3"
|
|
||||||
ini "^1.3.4"
|
|
||||||
jest-environment-emit "^1.0.5"
|
|
||||||
json-cycle "^1.3.0"
|
|
||||||
lodash "^4.17.11"
|
|
||||||
multi-sort-stream "^1.0.3"
|
|
||||||
multipipe "^4.0.0"
|
|
||||||
node-ipc "9.2.1"
|
|
||||||
proper-lockfile "^3.0.2"
|
|
||||||
resolve-from "^5.0.0"
|
|
||||||
sanitize-filename "^1.6.1"
|
|
||||||
semver "^7.0.0"
|
|
||||||
serialize-error "^8.0.1"
|
|
||||||
shell-quote "^1.7.2"
|
|
||||||
signal-exit "^3.0.3"
|
|
||||||
stream-json "^1.7.4"
|
|
||||||
strip-ansi "^6.0.1"
|
|
||||||
telnet-client "1.2.8"
|
|
||||||
tempfile "^2.0.0"
|
|
||||||
trace-event-lib "^1.3.1"
|
|
||||||
which "^1.3.1"
|
|
||||||
ws "^7.0.0"
|
|
||||||
yargs "^17.0.0"
|
|
||||||
yargs-parser "^21.0.0"
|
|
||||||
yargs-unparser "^2.0.0"
|
|
||||||
|
|
||||||
didyoumean@^1.2.2:
|
didyoumean@^1.2.2:
|
||||||
version "1.2.2"
|
version "1.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037"
|
resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037"
|
||||||
@@ -11393,13 +11352,6 @@ eslint-module-utils@^2.8.0:
|
|||||||
version "0.0.0"
|
version "0.0.0"
|
||||||
uid ""
|
uid ""
|
||||||
|
|
||||||
eslint-plugin-detox@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-detox/-/eslint-plugin-detox-1.0.0.tgz#2d9c0130e8ebc4ced56efb6eeaf0d0f5c163398d"
|
|
||||||
integrity sha512-Dd+Cwyap5IO9DBKXOKrQTE1RQk9hvSSi+qsS1cMVPZY37mojz2PvriEOfGhKj5XN1G14lJ8TArf+6Y+Np2ZsoQ==
|
|
||||||
dependencies:
|
|
||||||
requireindex "~1.1.0"
|
|
||||||
|
|
||||||
eslint-plugin-eslint-comments@^3.2.0:
|
eslint-plugin-eslint-comments@^3.2.0:
|
||||||
version "3.2.0"
|
version "3.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.2.0.tgz#9e1cd7b4413526abb313933071d7aba05ca12ffa"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.2.0.tgz#9e1cd7b4413526abb313933071d7aba05ca12ffa"
|
||||||
|
|||||||
Reference in New Issue
Block a user