String prototype does not contain color properties anymore, colors must now be applied with the new theme component available as a field in custom display processors.
Before:
class MyProcessor extends DisplayProcessor {
public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
return "OK ".successful + log;
}
}
Now:
class MyProcessor extends DisplayProcessor {
public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
return this.theme.successful("OK ") + log;
}
}
</tr></table>
String prototype does not contain color properties anymore, colors must now be applied with the new theme component available as a field in custom display processors.
Before:
class MyProcessor extends DisplayProcessor {
public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
return 'OK '.successful + log
}
}
Bumps jasmine-spec-reporter from 5.0.2 to 7.0.0.
Release notes
Sourced from jasmine-spec-reporter's releases.
... (truncated)
Changelog
Sourced from jasmine-spec-reporter's changelog.
... (truncated)
Commits
bdd0346
7.0.0000ead1
💥 update jasmine typeseca3f45
🔼 update dependenciesc7a4323
🔼 update node version93e5a28
[Security] Bump y18n from 4.0.0 to 4.0.15712600
Bump jasmine from 3.6.3 to 3.6.40484090
Bump@types/node
from 14.14.14 to 14.14.3328fd33a
Bump@types/node
from 14.14.13 to 14.14.143d17586
Bump diff from 4.0.2 to 5.0.0a963a8b
Bump jasmine from 3.6.1 to 3.6.3