Skip to content

Commit d623127

Browse files
authored
Apply suggestions from code review
1 parent 107bb8e commit d623127

File tree

1 file changed

+2
-2
lines changed
  • bdd/step-definitions/e2e

1 file changed

+2
-2
lines changed

bdd/step-definitions/e2e/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,15 +559,15 @@ Then("I should see exitCode: {string}", async function (
559559
}
560560
});
561561

562-
Then("Instance info should contain provided parameters", async function (
562+
Then("Instance info should contain provided parameters in {string}", async function (
563563
this: CustomWorld
564564
) {
565565
const res = this.cliResources;
566566

567567
if (res.stdio) {
568568
try {
569569
const expected = await fs.promises
570-
.readFile("../bdd/data/seq-startup-config.json", "utf8")
570+
.readFile(`../bdd/data/${file}`, "utf8")
571571
.then(JSON.parse);
572572

573573
const received = res.stdio[0] ? JSON.parse(res.stdio[0]) : null;

0 commit comments

Comments
 (0)