Skip to content

Commit 777ab12

Browse files
committed
fix: Make config TypeScript compatible
1 parent b3768f8 commit 777ab12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const sharedConfig = {
126126
'playwright/valid-expect-in-promise': 'error',
127127
'playwright/valid-title': 'error',
128128
},
129-
}
129+
} as const
130130

131131
const legacyConfig = {
132132
...sharedConfig,
@@ -164,7 +164,7 @@ const sharedJestConfig = {
164164
'playwright/missing-playwright-await': 'error',
165165
'playwright/no-page-pause': 'warn',
166166
},
167-
}
167+
} as const
168168

169169
const legacyJestConfig = {
170170
...sharedJestConfig,

0 commit comments

Comments
 (0)