Commit 12eb5ae
authored
Cleanup noisy test output (#20015)
This PR cleans up the noisy test output where some `console.warn`
messages were leaking into the test output.
This also uses the `src/` files instead of the `dist/` files of
`@tailwindcss/node` to get rid of a source map related warning in tests.
It also means that we don't have to rebuild `@tailwindcss/node` when we
make changes.
## Test plan
1. Existing tests pass
2. Output is clean when running tests (`vitest run --reporter=minimal`)
Before:
<img width="1193" height="1376" alt="image"
src="https://github.com/user-attachments/assets/9aceab62-cd99-4391-9734-0ae5c4c3fb48"
/>
After:
<img width="1099" height="294" alt="image"
src="https://github.com/user-attachments/assets/3ada4a0a-8a7a-48a7-9fbd-f3d5dd8700a5"
/>1 parent 4255671 commit 12eb5ae
4 files changed
Lines changed: 48 additions & 8 deletions
File tree
- packages
- @tailwindcss-node
- src
- @tailwindcss-postcss/src
- tailwindcss/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
23 | 38 | | |
24 | 39 | | |
25 | 40 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
29 | 44 | | |
30 | 45 | | |
31 | | - | |
32 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
33 | 49 | | |
34 | 50 | | |
35 | | - | |
36 | | - | |
| 51 | + | |
| 52 | + | |
37 | 53 | | |
38 | 54 | | |
39 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30148 | 30148 | | |
30149 | 30149 | | |
30150 | 30150 | | |
| 30151 | + | |
30151 | 30152 | | |
30152 | 30153 | | |
30153 | 30154 | | |
| |||
30157 | 30158 | | |
30158 | 30159 | | |
30159 | 30160 | | |
| 30161 | + | |
| 30162 | + | |
| 30163 | + | |
| 30164 | + | |
| 30165 | + | |
| 30166 | + | |
| 30167 | + | |
| 30168 | + | |
| 30169 | + | |
| 30170 | + | |
| 30171 | + | |
| 30172 | + | |
| 30173 | + | |
| 30174 | + | |
| 30175 | + | |
| 30176 | + | |
30160 | 30177 | | |
30161 | 30178 | | |
30162 | 30179 | | |
| |||
0 commit comments