From 83172a16726edfc1a3e8030101908b284a3f94d9 Mon Sep 17 00:00:00 2001 From: Gerardo Date: Fri, 27 Oct 2023 20:21:48 +0200 Subject: [PATCH] Disable extra workers --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7f36ebe2a3..bde5fec910 100644 --- a/package.json +++ b/package.json @@ -84,9 +84,9 @@ "test": "cross-env NODE_ENV=test jest --config ./jest.config.js", "test:update": "cross-env NODE_ENV=test jest --config ./jest.config.js --updateSnapshot", "test:debug": "cross-env NODE_ENV=test node --inspect-brk node_modules/.bin/jest --runInBand --verbose --config jest.config.js", - "device-tests": "APPIUM_HOME=~/.appium NODE_ENV=test jest --maxWorkers=2 --testPathIgnorePatterns='canary|gutenberg-editor-rendering|ipad' --config jest_ui.config.js", - "device-tests-canary": "APPIUM_HOME=~/.appium NODE_ENV=test jest --maxWorkers=2 --testPathPattern=@canary --config jest_ui.config.js", - "device-tests-ipad": "APPIUM_HOME=~/.appium NODE_ENV=test IPAD=true jest --maxWorkers=2 --testPathPattern=@ipad --config jest_ui.config.js", + "device-tests": "APPIUM_HOME=~/.appium NODE_ENV=test jest --maxWorkers=1 --testPathIgnorePatterns='canary|gutenberg-editor-rendering|ipad' --config jest_ui.config.js", + "device-tests-canary": "APPIUM_HOME=~/.appium NODE_ENV=test jest --maxWorkers=1 --testPathPattern=@canary --config jest_ui.config.js", + "device-tests-ipad": "APPIUM_HOME=~/.appium NODE_ENV=test IPAD=true jest --maxWorkers=1 --testPathPattern=@ipad --config jest_ui.config.js", "device-tests:local": "APPIUM_HOME=~/.appium IOS_APP_PATH='./gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app' WDA_PATH='./gutenberg/packages/react-native-editor/ios/build/WDA' ANDROID_APP_PATH='./gutenberg/packages/react-native-editor/android/app/build/outputs/apk/debug/app-debug.apk' NODE_ENV=test jest --maxWorkers=2 --detectOpenHandles --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' WDA_PATH='./gutenberg/packages/react-native-editor/ios/build/WDA' 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",