mkdocs-material/tests/unit/Marker.spec.jsx
2016-10-07 16:38:13 +02:00

25 lines
429 B
JavaScript

import chai from "chai"
describe("Karma test runner", function() {
chai.should()
let sandbox = null
beforeEach(function() {
sandbox = (
<ul class="list">
{[...Array(10)].map((x, i) => {
return <li class={`foo-${i + 1}`}>Element {i + 1}</li>
})}
</ul>
)
})
it("should compile JSX correctly", function() {
document.body.appendChild(sandbox)
return true
})
})