Closed lukethacoder closed 1 year ago
addresses https://github.com/salesforce/sfdx-lwc-jest/issues/313
allows the cli to recognize jest.config.mjs and jest.config.cjs as valid jest config files. The .(mjs|cjs) extensions are currently not supported.
jest.config.mjs
jest.config.cjs
.(mjs|cjs)
I have explored adding support for .json and .ts but have chosen not to include.
.json
.ts
@lwc/jest-preset
Thank you!!
addresses https://github.com/salesforce/sfdx-lwc-jest/issues/313
allows the cli to recognize
jest.config.mjs
andjest.config.cjs
as valid jest config files. The.(mjs|cjs)
extensions are currently not supported.I have explored adding support for
.json
and.ts
but have chosen not to include..json
would require a bit more rework to allow importing on the JSON file..ts
would require adding types to the@lwc/jest-preset
package (and potentially other TS based config)