Skip to content

Commit e94eac4

Browse files
committed
remove unused code
This code wasn't used, so let's clean it up.
1 parent 2f7e076 commit e94eac4

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

packages/@tailwindcss-upgrade/src/codemods/migrate-import.test.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1-
import { __unstable__loadDesignSystem } from '@tailwindcss/node'
21
import dedent from 'dedent'
32
import postcss from 'postcss'
43
import { expect, it } from 'vitest'
5-
import type { UserConfig } from '../../../tailwindcss/src/compat/config/types'
64
import { migrateImport } from './migrate-import'
75

86
const css = dedent
97

10-
async function migrate(input: string, userConfig: UserConfig = {}) {
8+
async function migrate(input: string) {
119
return postcss()
12-
.use(
13-
migrateImport({
14-
designSystem: await __unstable__loadDesignSystem(`@import 'tailwindcss';`, {
15-
base: __dirname,
16-
}),
17-
userConfig,
18-
}),
19-
)
10+
.use(migrateImport())
2011
.process(input, { from: expect.getState().testPath })
2112
.then((result) => result.css)
2213
}

0 commit comments

Comments
 (0)