Skip params in --debug-check (#1754)

This commit is contained in:
Christopher Chedeau authored and GitHub committed 2017-05-26 15:58:00 -07:00
1 parent 2a33309e3d
commit 7ad38c525e
4 files changed
+22

No files matched your search

+4
View File
@@ -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;
}
`;
+1
View File
@@ -0,0 +1 @@
run_spec(__dirname, { parser: "postcss" });
+4
View File
@@ -0,0 +1,4 @@
.clusterPlannerDialog input[type="text"],
.clusterPlannerDialog .uiTypeahead {
width: 220px;
}