/// <reference path="../../typings/index.d.ts" />
"use strict";
var QueryParser_1 = require("../../partial-src/component/QueryParser");
function run() {
    describe("QueryParser", function () {
        var expect = chai.expect;
        var assert = chai.assert;
        describe("# parse()", function () {
            it("\"http://abc.com?a=a&b=b\" should be parsed to {a:\"a\",b\"b\"}", function () {
                var url = "http://abc.com?a=a&b=b";
                var result = QueryParser_1.QueryParser.parse(url);
                assert(result["a"] === "a" && result["b"] === "b");
            });
        });
    });
}
exports.run = run;
//# sourceMappingURL=queryParser.test.js.map