Skip to content

Commit

Permalink
test(tailwind): remove new fixture, make existing test passes
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Sep 8, 2023
1 parent 0892aba commit b7c7bf5
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 89 deletions.
8 changes: 7 additions & 1 deletion test/development/basic/tailwind-jit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ import { join } from 'path'
import webdriver from 'next-webdriver'
import { createNext, FileRef } from 'e2e-utils'
import { NextInstance } from 'test/lib/next-modes/base'
import { check } from 'next-test-utils'
import { check, shouldRunTurboDevTest } from 'next-test-utils'

// [TODO]: It is unclear why turbopack takes longer to run this test
// remove once it's fixed
if (shouldRunTurboDevTest()) {
jest.setTimeout(1000 * 60 * 5)
}

describe('TailwindCSS JIT', () => {
let next: NextInstance
Expand Down
46 changes: 0 additions & 46 deletions test/e2e/basic-tailwind/index.test.ts

This file was deleted.

5 changes: 0 additions & 5 deletions test/e2e/basic-tailwind/pages/_app.js

This file was deleted.

16 changes: 0 additions & 16 deletions test/e2e/basic-tailwind/pages/index.js

This file was deleted.

6 changes: 0 additions & 6 deletions test/e2e/basic-tailwind/postcss.config.js

This file was deleted.

3 changes: 0 additions & 3 deletions test/e2e/basic-tailwind/styles/global.css

This file was deleted.

12 changes: 0 additions & 12 deletions test/e2e/basic-tailwind/tailwind.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions test/turbopack-tests-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const enabledTests = [
'test/e2e/typescript-version-no-warning/typescript-version-no-warning.test.ts',
'test/e2e/typescript-version-warning/typescript-version-warning.test.ts',
'test/e2e/undici-fetch/index.test.ts',
<<<<<<< HEAD
'test/integration/create-next-app/templates-app.test.ts',
'test/integration/create-next-app/templates-pages.test.ts',
'test/integration/custom-routes-i18n-index-redirect/test/index.test.js',
Expand Down Expand Up @@ -137,6 +138,12 @@ const enabledTests = [
'test/production/jest/transpile-packages.test.ts',
'test/production/postcss-plugin-config-as-string/index.test.ts',
'test/production/suppo.ts',
=======
'test/integration/bigint/test/index.test.js',
'test/e2e/styled-jsx/index.test.ts',
// TODO: re-enable once the logging is aligned
// 'test/integration/middleware-basic/test/index.test.js',
>>>>>>> 9fa53f7891 (test(tailwind): remove new fixture, make existing test passes)
]

module.exports = { enabledTests }
Expand Down

0 comments on commit b7c7bf5

Please sign in to comment.