Skip to content

Commit 68bce62

Browse files
committed
Test: make root .gitignore explicit
1 parent 72eef95 commit 68bce62

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

integrations/upgrade/index.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3407,6 +3407,13 @@ test(
34073407
@import 'tailwindcss/utilities.css' layer(utilities) source(none);
34083408
`,
34093409
'packages/css/src/index.html': html`<div class="flex text-red-500">Hi</div>`,
3410+
// The root-level `.gitignore` that anchors the fix. The test harness
3411+
// injects a default `.gitignore` with `node_modules/` when none is
3412+
// provided, but declaring it explicitly here makes the mechanism the
3413+
// fix relies on part of the test's visible surface.
3414+
'.gitignore': txt`
3415+
node_modules/
3416+
`,
34103417
},
34113418
},
34123419
async ({ root, exec, fs, expect }) => {

0 commit comments

Comments
 (0)