fix: test curriculum challenges (#24180)
This commit is contained in:
committed by
mrugesh mohapatra
parent
7da04a348b
commit
e099d6486d
@ -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);
|
||||
|
Reference in New Issue
Block a user