aboutsummaryrefslogtreecommitdiff
path: root/tests/testing.js
blob: ac413c86a65abea4fd5772fd2dab70d505d3b181 (plain)
1
2
3
4
5
6
7
8
9
10
exports.test = test;

function test(name, func) {
    it(name, function(done) {
        var result = func();
        result.then(function() {
            done()
        }).done();
    });
}