Skip to content

Commit c66e058

Browse files
committed
fix: failed UTs
1 parent 56be4b5 commit c66e058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mocha/gherkin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = (text, file) => {
107107
)
108108
continue
109109
}
110-
if (child.scenario && (currentLanguage ? currentLanguage.scenarioOutline.includes(child.scenario.keyword) : child.scenario.keyword === 'Scenario Outline')) {
110+
if (child.scenario && (currentLanguage ? currentLanguage.contexts.ScenarioOutline.includes(child.scenario.keyword) : child.scenario.keyword === 'Scenario Outline')) {
111111
for (const examples of child.scenario.examples) {
112112
const fields = examples.tableHeader.cells.map(c => c.value)
113113
for (const example of examples.tableBody) {

0 commit comments

Comments
 (0)