Skip to content

Commit 2513376

Browse files
committed
style: unify quotes
1 parent 26c0b2f commit 2513376

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/fixture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class ChannelIdFinder {
8888
}
8989

9090
async expectCanonicalLink(exists: boolean) {
91-
const locator = this.page.locator('[rel="canonical"]');
91+
const locator = this.page.locator("[rel='canonical']");
9292
const channelId =
9393
(await locator.count()) > 0
9494
? (await locator.first().getAttribute("href"))!

tests/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class YtVideoPage {
122122

123123
public async getPlaylistVideoIds(n: number = 3): Promise<string[]> {
124124
const locator = this.page.locator(
125-
'#playlist #thumbnail[href*="/watch?"],.YtmCompactMediaItemImage[href*="/watch"]',
125+
"#playlist #thumbnail[href*='/watch?'],.YtmCompactMediaItemImage[href*='/watch']",
126126
);
127127
await locator.first().waitFor();
128128
return await locator.evaluateAll(
@@ -142,7 +142,7 @@ export class YtVideoPage {
142142
public async getPlaylistSelectedVideoId(): Promise<string> {
143143
return await this.page
144144
.locator(
145-
'#playlist-items[selected] #thumbnail[href*="/watch?"],.ytmPlaylistPanelVideoRendererV2Selected [href*="/watch?"]',
145+
"#playlist-items[selected] #thumbnail[href*='/watch?'],.ytmPlaylistPanelVideoRendererV2Selected [href*='/watch?']",
146146
)
147147
.first()
148148
.evaluate(

0 commit comments

Comments
 (0)