I am creating few UI tests for iOS using Detox. Initially, iOS tests ran all fine. [Note- there're no Android tests, whatsoever, currently]
Config.json
{
"setupTestFrameworkScriptFile": "./init.js",
"testEnvironment": "node"
}
package.json snippet:
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "/Users/laxmisomni/Documents/Projects/mambo/ios/build/Build/Products/Debug-iphonesimulator/mambo.app",
"build": "xcodebuild -workspace ios/appName.xcworkspace -scheme appName -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 7"
}
},
"test-runner": "jest",
"specs": "e2e"
},
Error:
Ran all test suites matching /e2e/i with tests matching "^((?!:android:).)*$".
child_process.js:651
throw err;
^
Error: Command failed: node_modules/.bin/jest e2e --config=e2e/config.json --maxWorkers=1 '--testNamePattern=^((?!:android:).)*$'
at checkExecSyncError (child_process.js:611:11)
Other dependencies in Package.json:
"babel-eslint": "^8.2.3",
"babel-jest": "23.0.1",
"babel-preset-react-native": "4.0.0",
"babel-register": "^6.26.0",
Is there any way to disable, test runner trying to run non-existent Android tests?