fix: test curriculum challenges (#24180)

This commit is contained in:
Valeriy
2018-10-23 16:21:53 +03:00
committed by mrugesh mohapatra
parent 7da04a348b
commit e099d6486d
29 changed files with 478 additions and 193 deletions

View File

@ -10,7 +10,10 @@ function createPlugin() {
const solutions = selectAll('code', node).map(
element => element.children[0].value
);
file.data.solutions = solutions;
file.data = {
...file.data,
solutions
};
}
}
visit(tree, 'element', visitor);