Created
June 10, 2010 12:43
-
-
Save sdepold/432931 to your computer and use it in GitHub Desktop.
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 kiwi = require("kiwi") | |
kiwi.require("NoSpec") | |
new NoSpec() | |
.define("myLibrary", __dirname + "/lib/myLib", "myLib") | |
// => var myLibrary = require(__dirname + "/lib/myLib").myLib | |
.load(__dirname + "/specFile") | |
.load(__dirname + "/anotherSpecFile") | |
.load(__dirname + "/specFolder") | |
// use this to load all files in a folder and its subfolders | |
.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment