Skip to content
Snippets Groups Projects
Commit b09996b8 authored by Maxim Khlobystov's avatar Maxim Khlobystov
Browse files

Started using lodash to merge the wdio config files in favour of deepmerge.

parent 927a2bf0
No related branches found
No related tags found
No related merge requests found
let path = require('path');
let VisualRegressionCompare = require('wdio-visual-regression-service/compare');
let merge = require('deepmerge');
let _ = require('lodash');
let wdioBaseConf = require('./wdio.base.conf');
function getScreenshotName(basePath) {
......@@ -21,7 +21,7 @@ function getScreenshotName(basePath) {
};
}
exports.config = merge(wdioBaseConf.config, {
exports.config = _.merge(wdioBaseConf.config, {
specs: [
'tests/webdriverio/specs/visual-regression/**/*.spec.js'
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment