push
github
122 of 123 branches covered (0.0%)
10 of 19 new or added lines in 4 files covered. (52.63%)
2 existing lines in 1 file now uncovered.425 of 441 relevant lines covered (96.37%)
10.83 hits per line
|
|
import $ from '../browser/bling.mjs'; |
|
|
|
import { SvgGridView } from '../view/svg/grid.mjs';
|
1✔ |
| 3 |
import { Maze } from '../model/maze.mjs';
|
1✔ |
| 4 |
|
1✔ |
|
NEW
|
function main (options) {
|
× |
|
UNCOV
6
|
const maze = new Maze(options); |
× |
|
NEW
|
const view = new SvgGridView({ |
× |
|
NEW
|
model: maze.grid()
|
× |
|
NEW
|
}); |
× |
|
NEW
|
view.render(); |
× |
|
NEW
|
$('#wui')[0].innerHTML = view.source(); |
× |
|
UNCOV
12
|
} |
× |
| 13 |
|
1✔ |
| 14 |
export default { main }; |
1✔ |