fix(curriculum): reduce strictness of code formatting (#46715)
fix: reduce strictness of code formattingpull/46725/head
parent
a51db10ec9
commit
fe1aa0644c
|
@ -18,8 +18,10 @@ Both radio buttons should still be located between opening and closing `label` e
|
|||
```js
|
||||
const labelChildNodes = [...$('label')].map((node) => [...node.childNodes]);
|
||||
assert(
|
||||
labelChildNodes.filter((childNode) => childNode[0].nodeName === 'INPUT')
|
||||
.length === 2
|
||||
labelChildNodes.filter(
|
||||
childNodes =>
|
||||
childNodes.filter(node => node.nodeName === 'INPUT').length === 1
|
||||
).length === 2
|
||||
);
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue