Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('Should report a succeeded process', () => {
// Given
const message = 'yo process passed';
// When
reporter.reportSucceededProcess(message);
// Then
if (typeof process.env.APPVEYOR === 'undefined') {
output.should.containEql(emoji.tada);
}
});
return spawn(command).then(() => console.log('\n', emoji.tada, emoji.tada, emoji.tada));
function reportSucceededProcess(_message) {
const emoji = require('node-emoji').emoji;
console.log('');
console.log(emoji.tada, emoji.tada, emoji.tada);
}