* fix: replace index with script/styles as needed * fix: remove redundant fileKey It's overwritten by createPoly, so the parser does not need to create it * fix: curriculum test suite * Update client/src/templates/Challenges/classic/MultifileEditor.js Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
41 lines
734 B
Plaintext
41 lines
734 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`add solution plugin should have an output to match the snapshot 1`] = `
|
|
Object {
|
|
"solutions": Array [
|
|
Array [
|
|
Object {
|
|
"contents": "<html>
|
|
<body>
|
|
</body>
|
|
</html>",
|
|
"ext": "html",
|
|
"head": "",
|
|
"id": "html-key",
|
|
"name": "index",
|
|
"tail": "",
|
|
},
|
|
Object {
|
|
"contents": "body {
|
|
background: white;
|
|
}",
|
|
"ext": "css",
|
|
"head": "",
|
|
"id": "",
|
|
"name": "styles",
|
|
"tail": "",
|
|
},
|
|
Object {
|
|
"contents": "var x = 'y';
|
|
\`\`",
|
|
"ext": "js",
|
|
"head": "",
|
|
"id": "",
|
|
"name": "script",
|
|
"tail": "",
|
|
},
|
|
],
|
|
],
|
|
}
|
|
`;
|