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.
35 lines (21 loc) • 1.12 kB
JavaScript
'use strict';
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
define(["."], function (Graph) {///////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
describe("constructor", function () {
it("is present", function () {
expect(typeof Graph).toBe('function');
});
it("never throws any exception", function () {
expect(function () {
new Graph()
}).not.toThrow();
});
it("returns an object of type Graph", function () {
var graph = new Graph();
expect(graph instanceof Graph).toBeTruthy();
});
});
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
});/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////