UNPKG

grunt-sencha-dependencies

Version:

A Grunt.js plugin which will figure out the order of Ext classes your Ext.application uses so the list can be passed on to further commands like concat, jshint, etc

36 lines (32 loc) 1.04 kB
"use strict"; var splitArrayIntoThree; /* ======== A Handy Little Nodeunit Reference ======== https://github.com/caolan/nodeunit Test methods: test.expect(numAssertions) test.done() Test assertions: test.ok(value, [message]) test.equal(actual, expected, [message]) test.notEqual(actual, expected, [message]) test.deepEqual(actual, expected, [message]) test.notDeepEqual(actual, expected, [message]) test.strictEqual(actual, expected, [message]) test.notStrictEqual(actual, expected, [message]) test.throws(block, [error], [message]) test.doesNotThrow(block, [error], [message]) test.ifError(value) */ exports.sencha_dependencies = { setUp: function (done) { splitArrayIntoThree = require("../tasks/lib/splitArrayIntoThree.js"); // setup here if necessary done(); }, "splitArrayIntoThree is loaded": function (test) { test.expect(1); test.ok(splitArrayIntoThree, "loaded splitArrayIntoThree"); test.done(); } };