Skip to content

Commit

Permalink
test: update test as the recommended usage has been changed
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Dec 26, 2024
1 parent f062225 commit e63c7e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ test('#102: should set configs correctly for paths with glob-like syntax (e.g. f
expect(stdout).toMatch(WHITESPACE_ONLY)
})

test('should guide user to use camelCase names in "extends"', async () => {
const eslintConfigPath = path.join(__dirname, '../examples/type-checked/eslint.config.js')
test('(usage before 14.3) should guide user to use camelCase names in "extends"', async () => {
const eslintConfigPath = path.join(__dirname, '../examples/usage-before-14.3/eslint.config.js')
const { modify, restore } = setupFileMutations(eslintConfigPath)
modify((oldContents) => oldContents.replace('recommendedTypeChecked', 'recommended-type-checked'))
const { failed, stderr } = await runLintAgainst('type-checked')
Expand Down

0 comments on commit e63c7e5

Please sign in to comment.