Skip to content

Commit 92b1f4c

Browse files
committed
fix(lint): running core lint.fix
1 parent 7981fe3 commit 92b1f4c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

core/src/utils/test/playwright/page/utils/set-content.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,25 @@ export const setContent = async (page: Page, html: string, testInfo: TestInfo, o
3939
// The Ionic bundle is included locally by default unless the test
4040
// config passes in the importIonicFromCDN option. This is useful
4141
// when testing with the CDN version of Ionic.
42-
let ionicCSSImports = theme === 'ionic' ? `
42+
let ionicCSSImports =
43+
theme === 'ionic'
44+
? `
4345
<link href="${baseUrl}/css/ionic/bundle.ionic.css" rel="stylesheet" />
44-
` : `
46+
`
47+
: `
4548
<link href="${baseUrl}/css/ionic.bundle.css" rel="stylesheet" />
4649
`;
4750
let ionicJSImports = `
4851
<script type="module" src="${baseUrl}/dist/ionic/ionic.esm.js"></script>
4952
`;
5053

5154
if (options?.importIonicFromCDN) {
52-
ionicCSSImports = theme === 'ionic' ? `
55+
ionicCSSImports =
56+
theme === 'ionic'
57+
? `
5358
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core/css/ionic/bundle.ionic.css" />
54-
` : `
59+
`
60+
: `
5561
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core/css/ionic.bundle.css" />
5662
`;
5763
ionicJSImports = `

0 commit comments

Comments
 (0)