Skip to content

Commit e296bcb

Browse files
authored
[tests]: remove unnecessary skipDeployment flags (#92423)
These tests won't ever be run in a deployed environment, so this removes `skipDeployment` so it's easier to grok which tests are intentionally disabled because they don't work when deployed.
1 parent b43c4ef commit e296bcb

42 files changed

Lines changed: 0 additions & 51 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/development/app-dir/css-parse-error-recovery/css-parse-error-recovery.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import stripAnsi from 'strip-ansi'
99
describe('with turbopack.ignoreIssue config', () => {
1010
const { next, skipped } = nextTestSetup({
1111
files: __dirname,
12-
skipDeployment: true,
1312
nextConfig: {
1413
turbopack: {
1514
ignoreIssue: [
@@ -47,7 +46,6 @@ import stripAnsi from 'strip-ansi'
4746
describe('without turbopack.ignoreIssue config', () => {
4847
const { next, skipped } = nextTestSetup({
4948
files: __dirname,
50-
skipDeployment: true,
5149
})
5250

5351
if (skipped) return

test/development/app-dir/dynamic-error-trace/index.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { nextTestSetup } from 'e2e-utils'
33
describe('app dir - dynamic error trace', () => {
44
const { next, skipped } = nextTestSetup({
55
files: __dirname,
6-
skipDeployment: true,
76
})
87
if (skipped) return
98

test/development/app-dir/turbopack-ignore-issue/turbopack-ignore-issue.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ describe('turbopack-ignore-issue', () => {
77
const { next, skipped, isTurbopack } = nextTestSetup({
88
files: __dirname,
99
// turbopack.ignoreIssue is turbopack-only
10-
skipDeployment: true,
1110
nextConfig: {
1211
turbopack: {
1312
ignoreIssue: [
@@ -125,7 +124,6 @@ describe('turbopack-ignore-issue', () => {
125124
describe('without turbopack.ignoreIssue config', () => {
126125
const { next, skipped, isTurbopack } = nextTestSetup({
127126
files: __dirname,
128-
skipDeployment: true,
129127
})
130128

131129
if (skipped) return

test/development/app-dir/turbopack-import-assertions-use/turbopack-import-assertions-use.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { nextTestSetup } from 'e2e-utils'
33
describe('turbopack-import-assertions-use', () => {
44
const { next, isTurbopack } = nextTestSetup({
55
files: __dirname,
6-
// This test is Turbopack-only; turbopackUse is not supported in webpack
7-
skipDeployment: true,
86
})
97

108
if (!isTurbopack) {

test/development/mcp-server/mcp-server-get-compilation-issues.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { nextTestSetup } from 'e2e-utils'
77
() => {
88
const { next, skipped } = nextTestSetup({
99
files: path.join(__dirname, 'fixtures', 'compilation-errors-app'),
10-
skipDeployment: true,
1110
})
1211

1312
if (skipped) {

test/development/mcp-server/mcp-server-get-logs.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { retry } from 'next-test-utils'
55
describe('get-logs MCP tool', () => {
66
const { next, skipped } = nextTestSetup({
77
files: path.join(__dirname, 'fixtures', 'log-file-app'),
8-
skipDeployment: true,
98
})
109

1110
if (skipped) {

test/development/mcp-server/mcp-server-get-routes.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { nextTestSetup } from 'e2e-utils'
44
describe('get_routes MCP tool', () => {
55
const { next, skipped } = nextTestSetup({
66
files: path.join(__dirname, 'fixtures', 'dynamic-routes-app'),
7-
skipDeployment: true,
87
})
98

109
if (skipped) {

test/development/sass-error/index.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { waitForRedbox, getRedboxSource } from 'next-test-utils'
44
describe('app dir - css', () => {
55
const { next, skipped } = nextTestSetup({
66
files: __dirname,
7-
skipDeployment: true,
87
dependencies: {
98
sass: 'latest',
109
},

test/production/500-page/mixed-router-no-custom-pages-error/mixed-router-no-error.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import path from 'path'
55
describe('500-page - mixed-router-no-custom-pages-error', () => {
66
const { next, skipped } = nextTestSetup({
77
files: __dirname,
8-
skipDeployment: true,
98
})
109

1110
if (skipped) {

test/production/500-page/mixed-router-with-custom-pages-error/mixed-router-with-error.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import path from 'path'
55
describe('500-page - mixed-router-with-custom-pages-error', () => {
66
const { next, skipped } = nextTestSetup({
77
files: __dirname,
8-
skipDeployment: true,
98
})
109

1110
if (skipped) {

0 commit comments

Comments
 (0)