Skip to content

Commit 0bb3d83

Browse files
ci: apply automated fixes
1 parent 729af9f commit 0bb3d83

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎e2e/react-start/import-protection/tests/import-protection.spec.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,9 @@ test('non-alias-namespace-leak does not expose real secret after hydration', asy
901901
).not.toContainText('super-secret-server-key-12345')
902902
})
903903

904-
test('type-only protected import route loads in mock mode', async ({ page }) => {
904+
test('type-only protected import route loads in mock mode', async ({
905+
page,
906+
}) => {
905907
await expectRouteHeading(
906908
page,
907909
'/type-only-protected-import',

‎e2e/react-start/import-protection/tests/violations.setup.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,7 @@ const routeDefinitions = [
9494
['/alias-path-leak', 'alias-path-leak-heading'],
9595
['/alias-path-namespace-leak', 'alias-path-namespace-leak-heading'],
9696
['/non-alias-namespace-leak', 'non-alias-namespace-leak-heading'],
97-
[
98-
'/type-only-protected-import',
99-
'type-only-protected-import-heading',
100-
],
97+
['/type-only-protected-import', 'type-only-protected-import-heading'],
10198
] as const
10299

103100
const routes = routeDefinitions.map(([route]) => route)

0 commit comments

Comments
 (0)