test: aligned pluginName with naming for functions
This commit is contained in:
parent
78ea3ba966
commit
1b6254880c
4
test/fixtures/plugin-noop.cjs
vendored
4
test/fixtures/plugin-noop.cjs
vendored
@ -1 +1,3 @@
|
||||
module.exports = () => {};
|
||||
module.exports = function noop() {
|
||||
|
||||
};
|
||||
|
@ -139,7 +139,7 @@ test('Plugins are called with expected values', async (t) => {
|
||||
pluginName: '[Function: functionStub]',
|
||||
},
|
||||
{...nextRelease, ...release2, notes: `${notes1}\n\n${notes2}\n\n${notes3}`, pluginName: '[Function: functionStub]'},
|
||||
{...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`, pluginName: pluginNoop},
|
||||
{...nextRelease, notes: `${notes1}\n\n${notes2}\n\n${notes3}`, pluginName: '[Function: noop]'},
|
||||
];
|
||||
|
||||
await td.replaceEsm('../lib/get-logger.js', null, () => t.context.logger);
|
||||
|
Loading…
x
Reference in New Issue
Block a user