DetoxRecorder: Detox Recorder can't read configuration from detox.config.js
Describe the Bug DetoxRecorder only search package.json for configuration
To Reproduce When the detox configuration is not in package.json but in detox.config.js, the detox recorder command can’t find the configuration and return failure.
Expected Behavior Detox Recorder can read configuration from different configuration files as described here
Actual Behavior
detox recorder --configuration "ios" --outputTestFile "./e2e/RecordedTest.js" --testName "DetoxRecordedTest" --record
Unable to find “detox” object in package.json. See “detox recorder --help” for usage.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (10 by maintainers)
I will take a look now. Apologies for the delay.