Skip to content

Commit 77359cd

Browse files
committed
fix: Use cjs extension for diagnose output
1 parent c228048 commit 77359cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/diagnostics/diagnose.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export async function diagnose(configuration: {
122122

123123
const outputFileName = path.join(
124124
configuration.cypress.projectRoot,
125-
".output-" + randomPart + ".js"
125+
".output-" + randomPart + ".cjs"
126126
);
127127

128128
let registry: Registry;
@@ -150,7 +150,7 @@ export async function diagnose(configuration: {
150150
}
151151

152152
throw new Error(
153-
`Failed to compile steø definitions of ${testFile}, with errors shown above...`
153+
`Failed to compile step definitions of ${testFile}, with errors shown above...`
154154
);
155155
}
156156

0 commit comments

Comments
 (0)