Skip to content

Commit

Permalink
test: oops, wrong project name
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Dec 26, 2024
1 parent 575503d commit 0f55664
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,11 +200,11 @@ test('#102: should set configs correctly for paths with glob-like syntax (e.g. f
expect(stdout).toMatch(WHITESPACE_ONLY)
})

test('(API before 14.3) should guide user to use camelCase names in "extends"', async () => {
test.only('(API before 14.3) should guide user to use camelCase names in "extends"', async () => {
const eslintConfigPath = path.join(__dirname, '../examples/api-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')
const { failed, stderr } = await runLintAgainst('api-before-14.3')
restore()

expect(failed).toBe(true)
Expand Down

0 comments on commit 0f55664

Please sign in to comment.