Skip to content

Commit d163f6d

Browse files
committed
fix: Use import instead of require in module code of module package diagnostics scenario
1 parent 4999f75 commit d163f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/diagnostics.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Feature: diagnostics
202202
"""
203203
And a file named "cypress/support/step_definitions/steps.js" with:
204204
"""
205-
const { Given } = require("@badeball/cypress-cucumber-preprocessor");
205+
import { Given } from "@badeball/cypress-cucumber-preprocessor";
206206
Given("a step", function() {});
207207
"""
208208
When I run diagnostics

0 commit comments

Comments
 (0)