1 | module.exports = ({ functions }) => {
|
2 | // https://github.com/nodejs/node/blob/v12.1.0/lib/internal/modules/esm/create_dynamic_module.js#L11-L19
|
3 | return functions.length === 3 &&
|
4 | functions[0].functionName === '' &&
|
5 | functions[0].isBlockCoverage === true &&
|
6 | functions[1].functionName === 'get' &&
|
7 | functions[1].isBlockCoverage === false &&
|
8 | functions[2].functionName === 'set' &&
|
9 | functions[2].isBlockCoverage === true
|
10 | }
|