From 53d93f4cb0ff1b2da124bdb159ec1bede1f3488e Mon Sep 17 00:00:00 2001 From: Ceyhun Ozugur Date: Thu, 17 Dec 2020 11:21:54 +0100 Subject: [PATCH] Use testPathPattern to skip environment setup on skipped tests --- gutenberg | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gutenberg b/gutenberg index 5c8dde6a2f..1429ed6083 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 5c8dde6a2f3673b2e5a697659c1701f15a26a586 +Subproject commit 1429ed60832d6f812154884c8d5bce3dd4bde029 diff --git a/package.json b/package.json index caee3fe723..4e59b8b0ce 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "test": "cross-env NODE_ENV=test jest --verbose --config ./jest.config.js", "test:debug": "cross-env NODE_ENV=test node --inspect-brk node_modules/.bin/jest --runInBand --verbose --config jest.config.js", "device-tests": "cross-env NODE_ENV=test jest --no-cache --maxWorkers=3 --verbose --config jest_ui.config.js", - "device-tests-canary": "cross-env NODE_ENV=test jest --no-cache --maxWorkers=2 --testNamePattern=@canary --verbose --config jest_ui.config.js", + "device-tests-canary": "cross-env NODE_ENV=test jest --no-cache --maxWorkers=2 --testPathPattern=@canary --verbose --config jest_ui.config.js", "device-tests:local": "IOS_APP_PATH='./gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app' ANDROID_APP_PATH='./gutenberg/packages/react-native-editor/android/app/build/outputs/apk/debug/app-debug.apk' cross-env NODE_ENV=test jest --runInBand --detectOpenHandles --verbose --config jest_ui.config.js", "device-tests:debug": "IOS_APP_PATH='./gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app' ANDROID_APP_PATH='./gutenberg/packages/react-native-editor/android/app/build/outputs/apk/debug/app-debug.apk' cross-env NODE_ENV=test node $NODE_DEBUG_OPTION --inspect-brk node_modules/jest/bin/jest --runInBand --detectOpenHandles --verbose --config jest_ui.config.js", "test:e2e:bundle:android": "npm run test:e2e:bundle:android:text && npm run test:e2e:bundle:android:bytecode",