UNPKG

codeceptjs

Version:

Modern Era Acceptance Testing Framework for NodeJS

50 lines (28 loc) 737 B
<!-- Generated by documentation.js. Update this documentation by updating the source code. --> ## Config Current configuration ### append Appends values to current config #### Parameters - `additionalConfig` **any** ### create Create a config with default options #### Parameters - `newConfig` **any** ### get Get current config. #### Parameters - `key` - `val` ### load Load config from a file. If js file provided: require it and get .config key If json file provided: load and parse JSON If directory provided: - try to load `codecept.conf.js` from it - try to load `codecept.json` from it If none of above: fail. #### Parameters - `configFile` **any** ### reset Resets config to default