mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
25 lines
429 B
JavaScript
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
|
|
})
|
|
})
|
|
|