Tests: group together tests with/without components

This commit is contained in:
Pierre-Yves Gerardy 2017-02-19 00:01:05 +01:00
parent eccea68212
commit d7f39a8254
5 changed files with 145 additions and 142 deletions

View file

@ -68,6 +68,16 @@ o.spec("api", function() {
o(query).equals("a=1&b=2")
})
})
o.spec("m.request", function() {
o("works", function() {
o(typeof m.request).equals("function") // TODO improve
})
})
o.spec("m.jsonp", function() {
o("works", function() {
o(typeof m.jsonp).equals("function") // TODO improve
})
})
o.spec("m.render", function() {
o("works", function() {
var root = window.document.createElement("div")
@ -157,14 +167,4 @@ o.spec("api", function() {
}, FRAME_BUDGET)
})
})
o.spec("m.request", function() {
o("works", function() {
o(typeof m.request).equals("function") // TODO improve
})
})
o.spec("m.jsonp", function() {
o("works", function() {
o(typeof m.jsonp).equals("function") // TODO improve
})
})
})