JSFiddle - React, Tailwind, and code Playground

by efcl

HTML

<link rel="stylesheet" type="text/css" href="http://pivotal.github.com/jasmine/lib/jasmine.css">
<script type="text/javascript" src="http://pivotal.github.com/jasmine/lib/jasmine.js"></script>
<script type="text/javascript" src="http://pivotal.github.com/jasmine/lib/jasmine-html.js"></script>
<script type="text/javascript">
    (function() {
        var jasmineEnv = jasmine.getEnv();
        jasmineEnv.updateInterval = 1000;
        var htmlReporter = new jasmine.HtmlReporter();
        jasmineEnv.addReporter(htmlReporter);
        jasmineEnv.specFilter = function(spec) {
            return htmlReporter.specFilter(spec);
        };
        var currentWindowOnload = window.onload;
        window.onload = function() {
            if (currentWindowOnload) {
                currentWindowOnload();
            }
            execJasmine();
        };

        function execJasmine() {
            jasmineEnv.execute();
        }
    })();
</script>

JavaScript

describe("A suite", function () {
        it("contains spec with an expectation", function () {
            this.fail();
        });
    });