fix: convert test mock main configs to valid ESM
The tests package has "type": "module" but mock main.js files used module.exports (CJS), causing storybook's loadMainConfig to fail on the first attempt and fall back. Converting to export default fixes the warning and adds a dedicated CJS test case with main.cjs.
D
Daniel Williams committed
de71205cdef7f092eee4e2eabb40ac77faa1e52c
Parent: a5e4541