html
  head
    title chai-jq
    meta(http-equiv="Content-Type", content="text/html; charset=UTF-8")
    meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")

    // Test styles and libraries.
    link(rel="stylesheet", href="js/lib/mocha.css")
    script(src="js/lib/mocha.js")
    script(src="js/lib/sinon.js")

    // Plugin deps and library.
    block libs
      script(src="js/lib/jquery.js")
      script(src="js/lib/chai.js")
      script(src="../chai-jq.js")

    // Test Setup
    block setup
      script.
        // Set up Chai and Mocha.
        window.expect = chai.expect;
        mocha.setup("bdd");

        // Run tests on window load.
        window.onload = function () {
          (window.mochaPhantomJS || mocha).run();
        };
      //-

    // Tests.
    block specs
      script(src="js/spec/chai-jq.spec.js")

  body
    #mocha
    #fixtures(style="position: absolute; bottom: 0;")
