This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { |