Kamil Chmielowski
Web / Angular
Jasmine code coverage report for cv app.
You can contact with me by email: kamilchmielowski94@gmail.com or my page.
Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1x 22x 4x | import { ChangeDetectionStrategy, Component } from '@angular/core'; import { CopyTextImports } from './change-theme.imports'; import { Theme } from './theme-url/theme-url.pipe'; @Component({ selector: 'app-change-theme', templateUrl: './change-theme.component.html', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CopyTextImports.imports], }) export class ChangeThemeComponent { protected theme = Theme.dark; protected changeTheme(): void { this.theme = Theme.light === this.theme ? Theme.dark : Theme.light; } } |