Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions integrations/cli/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import os from 'node:os'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { describe } from 'vitest'
import { candidate, css, html, js, json, retryAssertion, test, ts, yaml } from '../utils'
import { candidate, css, html, js, json, retryAssertion, test, ts, txt, yaml } from '../utils'

const __dirname = path.dirname(fileURLToPath(import.meta.url))

Expand Down Expand Up @@ -2591,7 +2591,7 @@ test(
}
}
`,
'input.css': css`
'input.css': txt`
.test {
color: red;
*/
Expand Down
7 changes: 3 additions & 4 deletions integrations/cli/standalone.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os from 'node:os'
import path from 'node:path'
import { candidate, css, html, js, json, test } from '../utils'
import { candidate, css, html, js, json, test, ts } from '../utils'

const STANDALONE_BINARY = (() => {
switch (os.platform()) {
Expand Down Expand Up @@ -122,7 +122,7 @@ test(
})
})
`,
'src/plugin.ts': js`
'src/plugin.ts': ts`
import plugin from 'tailwindcss/plugin'

// Make sure all available JS APIs can be imported and used
Expand All @@ -132,8 +132,7 @@ test(
import defaultTheme from 'tailwindcss/defaultTheme'
import * as pkg from 'tailwindcss/package.json'

export interface PluginOptions {
}
export interface PluginOptions {}

export default plugin(function ({ addUtilities }) {
addUtilities({
Expand Down