qunitjs/node-qunit

Writing results many times

Opened this issue · 0 comments

bset commented

I have this code in my app:

var testRunner = require("qunit");

testRunner.setup({
    log: {
        assertions: true,
        summary: true
    }
});

testRunner.run({
    code: "./libs/clubCreation",
    tests: "./tests/modulesTests/clubCreation"
});

testRunner.run({
    code: "./libs/news",
    tests: "./tests/modulesTests/news"
});

testRunner.run({
    code: "./libs/registration",
    tests: "./tests/modulesTests/registration"
});

testRunner.run({
    code: "./libs/utils",
    tests: "./tests/modulesTests/utils"
});

So for every of these tests there is new information in console. And besides it is a result of the first test, then a result of the first and second tests etc. Is it bug or do I do something wrong?

P.S. Tests are ran only one time but information is written many times