Skip to content

updated cloud9 testing #56

Merged
merged 1 commit into from Apr 19, 2012
View
2 static/js/person/person_test.js
@@ -0,0 +1,2 @@
+require('../../../test/c9test');
+require('../../../test/test.person');
View
12 test/c9test.js
@@ -0,0 +1,12 @@
+if (typeof module !== "undefined" && require.main["filename"].indexOf("_mocha")<0) {
+ var suiteExports = {};
+ global.suite = function(a, fun){
+ fun();
+ module.exports = suiteExports;
+ require("asyncjs").test.testcase(module.exports).exec()
+ }
+
+ global.test = function(txt, testfun){
+ suiteExports["test: " + txt] = testfun;
+ }
+}
View
0 test/person.js → test/test.person.js
File renamed without changes.
Something went wrong with that request. Please try again.