mkdocs-material/tests/unit/Marker.spec.jsx

25 lines
429 B
React
Raw Normal View History

2016-10-07 17:38:13 +03:00
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
})
})