This migration trasforming use of deprecated options.defaultExport and options.namedExports on
node:test.mock
mock.module('…', {
- defaultExport: …,
- namedExports: {
- foo: …
- },
+ exports: {
+ default: …,
+ foo: …,
+ },
});