Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly configure Lightning CSS features, and prefer user browserslist over default browserslist #11402

Merged
merged 9 commits into from
Jun 9, 2023
Prev Previous commit
Next Next commit
update integration tests
  • Loading branch information
RobinMalfait committed Jun 9, 2023
commit 15f42cb3fcb4c329d369e4dab70a6509e6003569
34 changes: 17 additions & 17 deletions integrations/postcss-cli/tests/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('watcher', () => {
.font-bold {
font-weight: 700;
}
@media (width >= 768px) {
@media (min-width: 768px) {
.md\:font-medium {
font-weight: 500;
}
Expand All @@ -148,23 +148,23 @@ describe('watcher', () => {
await writeInputFile(
'../tailwind.config.js',
javascript`
module.exports = {
content: ['./src/index.html'],
theme: {
extend: {
screens: {
md: '800px'
},
fontWeight: {
bold: 'bold'
}
module.exports = {
content: ['./src/index.html'],
theme: {
extend: {
screens: {
md: '800px'
},
fontWeight: {
bold: 'bold'
}
},
corePlugins: {
preflight: false,
},
plugins: [],
}
},
corePlugins: {
preflight: false,
},
plugins: [],
}
`
)
await runningProcess.onStderr(ready)
Expand All @@ -174,7 +174,7 @@ describe('watcher', () => {
.font-bold {
font-weight: bold;
}
@media (width >= 800px) {
@media (min-width: 800px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down
4 changes: 2 additions & 2 deletions integrations/rollup-sass/tests/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('watcher', () => {
.font-bold {
font-weight: 700;
}
@media (width >= 768px) {
@media (min-width: 768px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down Expand Up @@ -173,7 +173,7 @@ describe('watcher', () => {
.font-bold {
font-weight: bold;
}
@media (width >= 800px) {
@media (min-width: 800px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down
4 changes: 2 additions & 2 deletions integrations/rollup/tests/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ describe('watcher', () => {
.font-bold {
font-weight: 700;
}
@media (width >= 768px) {
@media (min-width: 768px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down Expand Up @@ -261,7 +261,7 @@ describe('watcher', () => {
.font-bold {
font-weight: bold;
}
@media (width >= 800px) {
@media (min-width: 800px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down
4 changes: 2 additions & 2 deletions integrations/vite/tests/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ describe('watcher', () => {
.font-bold {
font-weight: 700;
}
@media (width >= 768px) {
@media (min-width: 768px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down Expand Up @@ -292,7 +292,7 @@ describe('watcher', () => {
.font-bold {
font-weight: bold;
}
@media (width >= 800px) {
@media (min-width: 800px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down
4 changes: 2 additions & 2 deletions integrations/webpack-4/tests/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe('watcher', () => {
.font-bold {
font-weight: 700;
}
@media (width >= 768px) {
@media (min-width: 768px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down Expand Up @@ -263,7 +263,7 @@ describe('watcher', () => {
.font-bold {
font-weight: bold;
}
@media (width >= 800px) {
@media (min-width: 800px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down
4 changes: 2 additions & 2 deletions integrations/webpack-5/tests/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe('watcher', () => {
.font-bold {
font-weight: 700;
}
@media (width >= 768px) {
@media (min-width: 768px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down Expand Up @@ -263,7 +263,7 @@ describe('watcher', () => {
.font-bold {
font-weight: bold;
}
@media (width >= 800px) {
@media (min-width: 800px) {
.md\:font-medium {
font-weight: 500;
}
Expand Down