Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (routine) {
if (routine.hasFailed()) {
eyes = 'x .x';
} else if (routine.isSkipped() || routine.isPending()) {
eyes = 'o .o';
} else if (routine.hasPassed()) {
eyes = '^ .^';
}
}
if (this.failed) {
eyes = 'x .x';
}
return `( ${style.white(eyes)})`;
}