namedExports

abstract var namedExports: Any?(source)

An object whose keys and values are used to create the named exports of the mock module.

If the mock is a CommonJS or builtin module, these values are copied onto module.exports. Therefore, if a mock is created with both named exports and a non-object default export, the mock will throw an exception when used as a CJS or builtin module.