test: added test case #17011
test: added test case #17011
Analysis complete
Summary
Add a new inSupportScope
property to the css-loader
options and the use-style.js
module to test the @supports
feature query and the env()
function in CSS modules. Modify the style.module.css
file to use the @supports
syntax and the env()
function.
Walkthrough
- Add
inSupportScope
property tocss-loader
options incss-modules
andcss-modules-in-node
test cases to specify the CSS class name for the@supports
rule (link, link) - Add
@supports
rule tostyle.module.css
file to testcss-loader
compatibility withenv()
function and feature queries (link) - Export
inSupportScope
class name fromuse-style.js
module to use it in the HTML elements of the test cases (link)
Poem
inSupportScope
class
tests@supports
andenv()
autumn of CSS
Emoji
🆕🎨🧪
Include these descriptions in your pull request description by including the following marker tags:
copilot:all
: all the content, in one gocopilot:summary
: a one paragraph summary of the code changescopilot:walkthrough
: a step by step walkthrough of the code changescopilot:poem
: a poem about the code changes!copilot:emoji
: three emoji that capture the changes
Feedback is welcome. Simply add a comment to this PR of the form /copilot feedback [your comments here]
.
Details
Copilot for PRs is a limited technical preview from GitHub Next.
It's aim is to make it easier to write pull request descriptions by providing automatically generated suggestions based on the code changes.
To find out more go to https://githubnext.com/projects/copilot-for-pull-requests or come and chat with us on Discord
File | Status | Duration |
---|---|---|
Summary & Walkthrough | ✅ Finished | 24.9 seconds |
test/configCases/css/css-modules-in-node/index.js | ✅ Finished | 17.8 seconds |
test/configCases/css/css-modules/index.js | ✅ Finished | 17.8 seconds |
test/configCases/css/css-modules/style.module.css | ✅ Finished | 17.8 seconds |
test/configCases/css/css-modules/use-style.js | ✅ Finished | 17.8 seconds |