tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Run tests without optimization

Open RobinMalfait opened this issue 1 year ago • 1 comments

This PR improves the tests by not running the optimization step (via Lightning CSS) in places where we know that nothing should be generated.

In fact, if we generate invalid CSS where we expected that nothing was being generated, then Lightning CSS will throw the CSS out. This means that we have a bug somewhere in our code, and we should fix it but we don't know about it.

Bonus points: this improves the performance of the tests a tiny bit.

RobinMalfait avatar Oct 17 '24 13:10 RobinMalfait

This stack of pull requests is managed by Graphite. Learn more about stacking.

RobinMalfait avatar Oct 17 '24 13:10 RobinMalfait

Closing this, if we want this we can re-enable it later.

RobinMalfait avatar Dec 09 '24 12:12 RobinMalfait