Skip to content

Instantly share code, notes, and snippets.

var YUI = require("yui3").YUI
, otherSuite = require("./other_suite")
;
YUI({logInclude:{TestRunner:true}}).use("test", function(Y) {
var suite = new Y.Test.Suite("Server Test Suite");
var test_nothing = new Y.Test.Case({
name: "Testing nothing",
"testing nothing special": function() {
// Step 1. Create a module config object to pass to the YUI constructor
var myModules = {
bacon: {
path: '/path/to/rollup/file.js',
supersedes: ['list','of','the','concated','modules'],
rollup: 3
}
};
// Step2 . Instantiate your YUI with your module config and use()