Skip to content

Commit

Permalink
fix: Make config TypeScript compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Mar 7, 2024
1 parent b3768f8 commit 777ab12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const sharedConfig = {
'playwright/valid-expect-in-promise': 'error',
'playwright/valid-title': 'error',
},
}
} as const

const legacyConfig = {
...sharedConfig,
Expand Down Expand Up @@ -164,7 +164,7 @@ const sharedJestConfig = {
'playwright/missing-playwright-await': 'error',
'playwright/no-page-pause': 'warn',
},
}
} as const

const legacyJestConfig = {
...sharedJestConfig,
Expand Down

0 comments on commit 777ab12

Please sign in to comment.