Files
freeCodeCamp/tools/challenge-md-parser/__snapshots__/tests-to-data.test.js.snap
2020-09-16 11:54:02 +05:30

29 lines
828 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`tests-to-data plugin should have an output to match the snapshot 1`] = `
Object {
"tests": Array [
Object {
"testString": "assert.isTrue((/hello(\\\\s)+world/gi).test($('h1').text()), 'Your <code>h1</code> element should have the text \\"Hello World\\".');",
"text": "<p>Your <code>h1</code> element should have the text \\"Hello World\\".</p>",
},
],
}
`;
exports[`tests-to-data plugin should match the video snapshot 1`] = `
Object {
"question": Object {
"answers": Array [
"<p>inline <code>code</code></p>",
"<p>some <em>italics</em></p>",
"<p><code> code in </code> code tags</p>",
],
"solution": 3,
"text": "<p>Question line one</p>
<pre><code class=\\"language-js\\"> var x = 'y';
</code></pre>",
},
}
`;