node-uglifier-es
Version:
Fully auto merging and uglifying a whole NodeJs project into one file with external files option. Recompiled from Zsolt Istvan Szabo's work with uglify-es instead of uglify-js-harmony.
42 lines (27 loc) • 1.24 kB
JavaScript
'use strict';
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
define([".", "matchers"], function (Graph) {////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
describe("instance", function () {
var graph;
beforeEach(function () {
graph = new Graph();
});
it("initially has no vertices", function () {
expect(graph.vertexCount()).toBe(0);
graph.eachVertex(function () {
expect().not.toBeReachable();
});
expect().toBeReachable();
});
it("initially has no edges", function () {
expect(graph.edgeCount()).toBe(0);
graph.eachEdge(function () {
expect().not.toBeReachable();
});
expect().toBeReachable();
});
});
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
});/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////