Skip to content

Commit

Permalink
Update pre-generation script
Browse files Browse the repository at this point in the history
Removed replacing spaces in generated mock/assertion names

See: #13604
  • Loading branch information
radoslawkrzemien committed Jun 30, 2023
1 parent 1ebc0d1 commit cc59c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow_tests/utils/preGenerateTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const getAssertionsFileContent = (workflowName, jobs) => {
for (const [jobId, job] of Object.entries(jobs)) {
let stepAssertionsContent = '';
for (const step of job.steps) {
stepAssertionsContent += stepAssertionTemplate(step.name.replaceAll(' ', ''), jobId.toUpperCase(), step.name, step.inputs, step.envs);
stepAssertionsContent += stepAssertionTemplate(step.name, jobId.toUpperCase(), step.name, step.inputs, step.envs);
}
const jobAssertionName = `assert${jobId}JobExecuted`;
jobAssertions.push(jobAssertionName);
Expand Down

0 comments on commit cc59c3b

Please sign in to comment.