mithril-vndb/tests
Pierre-Yves Gerardy aeb5f05706 Add the old test suite to the grunt task for both local tests and CI
This relies on a hack to bypass the `mocha` detection by `grunt-mocha-phantomjs`.
The tests have to run in less than 10 seconds, which is unlikely to be problematic on current
hardware.

Alternatively, adding the following to tests/index.html also makes the old test suite compatible
with the mocha runner, but it entails loading `mocha`:

    <script src="../node_modules/mocha/mocha.js"></script>
    <script>
        mocha.setup("bdd")
        describe("dummy test", function(){
            it("is a dummy test to run the old test suite with grunt-mocha-phantomjs like the new one", function(){})
        })
        mocha.run()
    </script>
2016-09-11 16:21:45 +02:00
..
index.html Add the old test suite to the grunt task for both local tests and CI 2016-09-11 16:21:45 +02:00
mithril-tests.js Render booleans as empty strings 2016-06-10 11:00:56 -04:00
mock.js Revert "Use common mock for tests." 2016-04-19 22:53:59 -04:00
test.js Lint old tests 2016-01-22 14:07:25 -05:00