Skip to content

Commit

Permalink
Fix eslint rule violation jest/no-identical-title
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed May 31, 2024
1 parent 1a32813 commit 9d66188
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/integration/eslint/test/next-lint.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ describe('Next Lint', () => {
expect(output).not.toContain('Synchronous scripts should not be used.')
})

test('output flag create a file respecting the chosen format', async () => {
test('format flag "json" creates a file respecting the chosen format', async () => {
const filePath = `${__dirname}/output/output.json`
const { stdout, stderr } = await nextLint(
dirFileLinting,
Expand Down Expand Up @@ -538,7 +538,7 @@ describe('Next Lint', () => {
}
})

test('output flag create a file respecting the chosen format', async () => {
test('format flag "compact" creates a file respecting the chosen format', async () => {
const filePath = `${__dirname}/output/output.txt`
const { stdout, stderr } = await nextLint(
dirFileLinting,
Expand Down
3 changes: 2 additions & 1 deletion test/turbopack-build-tests-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8458,11 +8458,12 @@
"Next Lint don't create .eslintrc file if package.json has eslintConfig field",
"Next Lint file flag can selectively lint only a single file",
"Next Lint file flag can selectively lints multiple files",
"Next Lint format flag \"compact\" creates a file respecting the chosen format",
"Next Lint format flag \"json\" creates a file respecting the chosen format",
"Next Lint format flag supports additional user-defined formats",
"Next Lint lint files with cjs and mjs file extension",
"Next Lint max warnings flag does not error when warnings do not exceed threshold",
"Next Lint max warnings flag errors when warnings exceed threshold",
"Next Lint output flag create a file respecting the chosen format",
"Next Lint quiet flag suppresses warnings and only reports errors",
"Next Lint should add relative path for dist types in tsconfig.json when app dir exist",
"Next Lint should generate next-env.d.ts before lint command",
Expand Down
3 changes: 2 additions & 1 deletion test/turbopack-dev-tests-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10508,11 +10508,12 @@
"Next Lint don't create .eslintrc file if package.json has eslintConfig field",
"Next Lint file flag can selectively lint only a single file",
"Next Lint file flag can selectively lints multiple files",
"Next Lint format flag \"compact\" creates a file respecting the chosen format",
"Next Lint format flag \"json\" creates a file respecting the chosen format",
"Next Lint format flag supports additional user-defined formats",
"Next Lint lint files with cjs and mjs file extension",
"Next Lint max warnings flag does not error when warnings do not exceed threshold",
"Next Lint max warnings flag errors when warnings exceed threshold",
"Next Lint output flag create a file respecting the chosen format",
"Next Lint quiet flag suppresses warnings and only reports errors",
"Next Lint should add relative path for dist types in tsconfig.json when app dir exist",
"Next Lint should generate next-env.d.ts before lint command",
Expand Down

0 comments on commit 9d66188

Please sign in to comment.