@nightwatch/esbuild-utils
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"eslint": "eslint src", | ||
"test": "mocha" | ||
"test": "mocha test/src" | ||
}, | ||
@@ -23,3 +23,3 @@ "author": "", | ||
"eslint": "^8.23.1", | ||
"mocha": "^10.0.0", | ||
"mocha": "^9.2.2", | ||
"prop-types": "^15.8.1", | ||
@@ -26,0 +26,0 @@ "react": "^18.2.0", |
@@ -123,5 +123,5 @@ const path = require('path'); | ||
*/ | ||
module.exports = async function (modulePath, {name, data, showBrowserConsole = false, exports, createTest, transformCode = (code) => code, onlyConditionFn}, { | ||
module.exports = async function (modulePath, {name, data = () => {}, showBrowserConsole = false, exports, createTest, transformCode = (code) => code, onlyConditionFn}, { | ||
argv = {}, nightwatch_settings = {} | ||
}) { | ||
} = {}) { | ||
if (typeof createTest != 'function') { | ||
@@ -128,0 +128,0 @@ throw new Error('createTest function must be defined.'); |
21923