Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Dec 19, 2024
1 parent e4b16b2 commit 62847f7
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 12 deletions.
7 changes: 7 additions & 0 deletions apps/taiga-lumbermill-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
"options": {
"command": "playwright test --config {projectRoot}/playwright.config.ts"
}
},
"e2e-ui": {
"executor": "nx:run-commands",
"options": {
"command": "playwright test --config {projectRoot}/playwright.config.ts --ui --debug --update-snapshots",
"forwardAllArgs": true
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('Have right names', async ({page}) => {

const inputs = page.locator('tui-input-number');

await expect(inputs.nth(0).locator('label')).toHaveText('Room temperature С° ');
await expect(inputs.nth(0).locator('label')).toHaveText('Room temperature C° ');
await expect(inputs.nth(1).locator('label')).toHaveText('Water temperature ');
await expect(inputs.nth(2).locator('label')).toHaveText('Air humidity, % ');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
target="_blank"
tuiIconButton
[style.border-radius.%]="100"
></a>
>
Github
</a>
<button
appearance="secondary"
size="s"
Expand All @@ -83,7 +85,9 @@
[iconStart]="icon()"
[style.border-radius.%]="100"
(click)="darkMode.set(!darkMode())"
></button>
>
Mode
</button>
</header>
<div [style.display]="'flex'">
<aside
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface ClimateControlData {
}

export const INITIAL_DATA: ClimateControlData[] = [
{name: 'Room temperature С°', value: 32},
{name: 'Room temperature C°', value: 32},
{name: 'Water temperature', value: 0},
{name: 'Air humidity, %', value: 10},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class ElectricityComponent {

protected show = new TuiDayRange(
TuiDay.currentLocal(),
TuiDay.currentLocal().append({month: 3}),
TuiDay.currentLocal().append({month: 4}),
);

protected days = this.electricityService.random(this.show);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,36 +59,46 @@ <h2 class="tui-space_top-4 tui-space_bottom-2">
type="button"
[tuiAppearanceState]="shuffle ? 'active' : null"
(click)="shuffle = !shuffle"
></button>
>
Shuffle
</button>
<button
appearance="icon"
iconStart="@tui.skip-back"
tuiIconButton
type="button"
(click)="previousTrack(audio)"
></button>
>
Previous
</button>
<button
appearance="icon"
tuiIconButton
type="button"
[iconStart]="this.paused ? '@tui.circle-play' : '@tui.circle-stop'"
(click)="paused = !paused"
></button>
>
Pause
</button>
<button
appearance="icon"
iconStart="@tui.skip-forward"
tuiIconButton
type="button"
(click)="nextTrack(audio)"
></button>
>
Next
</button>
<button
appearance="icon"
iconStart="@tui.repeat"
tuiIconButton
type="button"
[tuiAppearanceState]="repeat ? 'active' : null"
(click)="repeat = !repeat"
></button>
>
Repeat
</button>
</div>
<hr />
<div class="volume">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ <h6 class="tui-space_top-0 tui-space_bottom-0 title-colors">{{ group.title }}</h
<button
appearance="icon"
size="m"
tuiButton
tuiIconButton
type="button"
class="copy"
[iconStart]="iconCopy()"
(click)="copy()"
></button>
>
copy
</button>
:root {{ '{' }}
<br />

Expand Down

0 comments on commit 62847f7

Please sign in to comment.