fix/css-helper normalize selector spacing handling #1500
ci.yml
on: pull_request
lint
10s
Python CI
6s
Node CI
1m 2s
Annotations
3 errors
|
Node CI
Process completed with exit code 1.
|
|
packages/tests/curriculum-helper.test.tsx > removeCssComments > returns a CSS string with no single or multi-line comments:
packages/tests/curriculum-helper.test.tsx#L395
AssertionError: expected '\na {\n color: green;\n display: fl…' to be '\na {\n color: green;\n display: fl…' // Object.is equality
- Expected
+ Received
@@ -3,11 +3,11 @@
color: green;
display: flex;
}
.aClass {
font-size: 32px;
-
+
flex: 1;
flex-direction: row;
}
@media screen and (max-width: 300px) {
❯ packages/tests/curriculum-helper.test.tsx:395:47
|
|
packages/tests/css-helper.test.ts > css-help > getStyle > should return a style for wildcard selector when present:
packages/tests/css-helper.test.ts#L25
AssertionError: expected null to be truthy
- Expected:
true
+ Received:
null
❯ packages/tests/css-helper.test.ts:25:31
|