We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 205b30d commit dc77b91Copy full SHA for dc77b91
packages/tailwindcss-language-server/src/testing/index.ts
@@ -17,6 +17,7 @@ export interface Storage {
17
export interface TestConfig<Extras extends {}> {
18
name: string
19
fs?: Storage
20
+ debug?: boolean
21
prepare?(utils: TestUtils): Promise<Extras>
22
handle(utils: TestUtils & Extras): void | Promise<void>
23
@@ -56,6 +57,8 @@ async function setup<T>(config: TestConfig<T>): Promise<TestUtils> {
56
57
58
if (path.sep === '\\') return
59
60
+ if (config.debug) return
61
+
62
// Remove the directory on *nix systems. Recursive removal on Windows will
63
// randomly fail b/c its slow and buggy.
64
await fs.rm(doneDir, { recursive: true })
0 commit comments