1
0
mirror of https://github.com/chylex/Firefox-SCsCC.git synced 2024-11-14 17:42:52 +01:00
Firefox-SCsCC/test/test-index.js
sarics 69dcae13ef moved from cfx to jpm packaging
removed support for Firefox version less than 38
changed version to 0.9.0
2015-05-31 10:29:19 +02:00

20 lines
427 B
JavaScript

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);