Skip params in --debug-check (#1754)
This commit is contained in:
1 parent
2a33309e3d
commit
7ad38c525e
4 files changed
+22
No files matched your search
@@ -61,6 +61,10 @@ function massageAST(ast) {
|
||||
delete newObj.value;
|
||||
}
|
||||
|
||||
if (ast.type === "css-rule") {
|
||||
delete newObj.params;
|
||||
}
|
||||
|
||||
// We convert <div></div> to <div />
|
||||
if (ast.type === "JSXOpeningElement") {
|
||||
delete newObj.selfClosing;
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`params.css 1`] = `
|
||||
.clusterPlannerDialog input[type="text"],
|
||||
.clusterPlannerDialog .uiTypeahead {
|
||||
width: 220px;
|
||||
}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.clusterPlannerDialog input[type="text"], .clusterPlannerDialog .uiTypeahead {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
`;
|
||||
@@ -0,0 +1 @@
|
||||
run_spec(__dirname, { parser: "postcss" });
|
||||
@@ -0,0 +1,4 @@
|
||||
.clusterPlannerDialog input[type="text"],
|
||||
.clusterPlannerDialog .uiTypeahead {
|
||||
width: 220px;
|
||||
}
|
||||
Reference in new issue
Block a user