-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
point to a single configuration file #901
Comments
you can do this in the current build
|
Unless I put a detox and configuration object in my if (_.size(config.configurations) === 1) {
^
TypeError: Cannot read property 'configurations' of undefined
at getDefaultConfiguration (/Users/ore/env/dev/repos/x/node_modules/detox/local-cli/detox-test.js:207:21)
at Object.<anonymous> (/Users/ore/env/dev/repos/x/node_modules/detox/local-cli/detox-test.js:23:151) |
This is due to detox/local-cli.js |
You're right, we should give an opportunity for users to get an external config file, not only in package.json. A PR is most welcome! |
@oreporan , check what's inside of your |
Sorry, I found the issue and removed the comment :) |
Made a PR |
Closing in favor of #1238 |
Description
Currently it seems that detox allows configuring only in the
package.json
of the project. But using a mono-repo (lerna), we want to run detox in specific packages. However I don't want to duplicate our detox config in each package.jsonI've seen a discussion in #175 but it doesn't mention creating the file outside the
package.json
Possible solution:
detox-config.json
Detox, Node, Device, Xcode and macOS Versions
The text was updated successfully, but these errors were encountered: