initial commit

This commit is contained in:
groovecoder
2016-12-15 16:27:05 -06:00
parent f324a0644f
commit 5b753dc146
10 changed files with 180 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
var main = require("../");
exports["test main"] = function(assert) {
assert.pass("Unit test running!");
};
exports["test main async"] = function(assert, done) {
assert.pass("async Unit test running!");
done();
};
exports["test dummy"] = function(assert, done) {
main.dummy("foo", function(text) {
assert.ok((text === "foo"), "Is the text actually 'foo'");
done();
});
};
require("sdk/test").run(exports);