We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e2692 commit 1175539Copy full SHA for 1175539
dev-packages/node-integration-tests/utils/runner.ts
@@ -191,10 +191,8 @@ export function createEsmAndCjsTests(
191
const cjsInstrumentPath = join(cwd, `tmp_${instrumentPath.replace('.mjs', '.cjs')}`);
192
193
// For the CJS runner, we create some temporary files...
194
- if (!options?.failsOnCjs) {
195
- convertEsmFileToCjs(mjsScenarioPath, cjsScenarioPath);
196
- convertEsmFileToCjs(mjsInstrumentPath, cjsInstrumentPath);
197
- }
+ convertEsmFileToCjs(mjsScenarioPath, cjsScenarioPath);
+ convertEsmFileToCjs(mjsInstrumentPath, cjsInstrumentPath);
198
199
describe('esm & cjs', () => {
200
afterAll(() => {
0 commit comments