fix(curriculum): reduce strictness of code formatting (#46715)

fix: reduce strictness of code formatting
pull/46725/head
billybrown-iii 2022-06-30 05:29:01 -07:00 committed by GitHub
parent a51db10ec9
commit fe1aa0644c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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
);
```