diff --git a/integrations/cli/index.test.ts b/integrations/cli/index.test.ts index 867d4d777..870a1baec 100644 --- a/integrations/cli/index.test.ts +++ b/integrations/cli/index.test.ts @@ -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)) @@ -2591,7 +2591,7 @@ test( } } `, - 'input.css': css` + 'input.css': txt` .test { color: red; */ diff --git a/integrations/cli/standalone.test.ts b/integrations/cli/standalone.test.ts index 07b8ebfee..b378535c0 100644 --- a/integrations/cli/standalone.test.ts +++ b/integrations/cli/standalone.test.ts @@ -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()) { @@ -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 @@ -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({