Skip to content

Commit

Permalink
fix(createtestfromscenario.js): use err as 2nd arg in failHandler for…
Browse files Browse the repository at this point in the history
… mocha event
  • Loading branch information
Oleksandr Shevtsov authored and lgandecki committed Mar 23, 2021
1 parent 82cec59 commit f5d5de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/createTestFromScenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const createTestFromScenarios = (
beforeEach(function () {
window.testState = testState;

const failHandler = (err) => {
const failHandler = (_, err) => {
testState.onFail(err);
};

Expand Down

0 comments on commit f5d5de4

Please sign in to comment.