Skip to content

Commit 62ff7d6

Browse files
friederbluemlefacebook-github-bot
authored andcommitted
Update detox to 12.2.0 (#24425)
Summary: This updates `detox` from `12.1.1` to `12.2.0`. It includes (amongst other things) the following fixes, as described on the [12.1.4 release page](https://github.com/wix/Detox/releases/tag/12.1.4): - hotfix: redundant logs in the folder - fix: stabilize simulator log recording It also updates the detox test script and config in `packages.json` (which was previously missed when detox was updated to 12.1.x). It will remove the following deprecation warnings: ``` detox[6416] WARN: [test.js] Deprecation warning: "file" and "specs" support will be dropped in the next Detox version. detox[6416] WARN: [test.js] Please edit your package.json according to the migration guide: https://wix.to/I0DOAK0 ``` Instead of extra preprocessing the test folder by `detox`, it will now be passed straight to `jest`. More information in the [migration guide](https://github.com/wix/Detox/blob/master/docs/Guide.Migration.md). [General] [Changed] - Update detox to 12.2.0 Pull Request resolved: #24425 Differential Revision: D14973771 Pulled By: cpojer fbshipit-source-id: 367ed1f75d2cc3b02349282e7a6201684ba130a7
1 parent 01bcde3 commit 62ff7d6

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"test-android-unit": "yarn run docker-build-android && yarn run test-android-run-unit",
8181
"test-android-e2e": "yarn run docker-build-android && yarn run test-android-run-e2e",
8282
"build-ios-e2e": "detox build -c ios.sim.release",
83-
"test-ios-e2e": "detox test -c ios.sim.release"
83+
"test-ios-e2e": "detox test -c ios.sim.release RNTester/e2e"
8484
},
8585
"peerDependencies": {
8686
"react": "16.8.3"
@@ -118,7 +118,7 @@
118118
"babel-eslint": "10.0.1",
119119
"clang-format": "^1.2.4",
120120
"coveralls": "^3.0.2",
121-
"detox": "12.1.1",
121+
"detox": "12.2.0",
122122
"eslint": "5.1.0",
123123
"eslint-config-fb-strict": "24.3.0",
124124
"eslint-config-fbjs": "2.1.0",
@@ -148,7 +148,7 @@
148148
"detox": {
149149
"test-runner": "jest",
150150
"runner-config": "RNTester/e2e/config.json",
151-
"specs": "RNTester/e2e",
151+
"specs": "",
152152
"configurations": {
153153
"ios.sim.release": {
154154
"binaryPath": "RNTester/build/Build/Products/Release-iphonesimulator/RNTester.app/",

yarn.lock

+9-9
Original file line numberDiff line numberDiff line change
@@ -2359,10 +2359,10 @@ detect-newline@^2.1.0:
23592359
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2"
23602360
integrity sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=
23612361

2362-
detox@12.1.1:
2363-
version "12.1.1"
2364-
resolved "https://registry.yarnpkg.com/detox/-/detox-12.1.1.tgz#98fd44ee003b4ed159cc6a3d68d34598e4ae26a9"
2365-
integrity sha512-QbZ9F+XD4UFsEIn4QTiObhiEXs1Tq5nvPt3UIG9123uAfp4WHFTVnCJomQliMwJu6flK4JP9fXYHfzwcccyFug==
2362+
detox@12.2.0:
2363+
version "12.2.0"
2364+
resolved "https://registry.yarnpkg.com/detox/-/detox-12.2.0.tgz#73f3a1dd39b740fe37078b50cce19ced9fbf9a8e"
2365+
integrity sha512-6M5jWGxXbop+sOzZD/IhL4TgNKFPS4OJbe5mvNQyDWQL901jUsCHj+6lE/9vTcS/tNnGC/HLXHlDiTuTP38/Tg==
23662366
dependencies:
23672367
bunyan "^1.8.12"
23682368
bunyan-debug-stream "^1.1.0"
@@ -2375,7 +2375,7 @@ [email protected]:
23752375
proper-lockfile "^3.0.2"
23762376
sanitize-filename "^1.6.1"
23772377
shell-utils "^1.0.9"
2378-
tail "^1.2.3"
2378+
tail "^2.0.0"
23792379
telnet-client "0.15.3"
23802380
tempfile "^2.0.0"
23812381
ws "^1.1.1"
@@ -6789,10 +6789,10 @@ table@^4.0.3:
67896789
slice-ansi "1.0.0"
67906790
string-width "^2.1.1"
67916791

6792-
tail@^1.2.3:
6793-
version "1.4.0"
6794-
resolved "https://registry.yarnpkg.com/tail/-/tail-1.4.0.tgz#884b216220b90804bfe87a4c8174c2efed0e2661"
6795-
integrity sha512-wjwfZw6wcMFTB1Po7NFUf4TdCDwX8duZjdTMhnHBEC677Q6mFRcVZE7f/nZDhG2Fpf/wEEKOJP9L7/b11/vlHQ==
6792+
tail@^2.0.0:
6793+
version "2.0.2"
6794+
resolved "https://registry.yarnpkg.com/tail/-/tail-2.0.2.tgz#86073f3a9a568807b7fd886897a7350314275b5f"
6795+
integrity sha512-raFipiKWdGKEzxbvZwnhUGqjvsv0gpa/1A479rL//NOxnNwYZDN4MPk6xJJdUFs8P2Xrff3nbH5fcyYRLU4UHQ==
67966796

67976797
tar@^4:
67986798
version "4.4.6"

0 commit comments

Comments
 (0)