VulpesOS/gaia/apps/calendar/test/unit/provider/abstract_test.js
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

31 lines
578 B
JavaScript
Executable file

define(function(require) {
'use strict';
var Abstract = require('provider/abstract');
suite('Provider.Abstract', function() {
var subject;
setup(function() {
subject = new Abstract();
});
test('initializer', function() {
assert.ok(subject);
});
test('#eventCapabilities', function(done) {
// just trying to assert the api contract is correct.
subject.eventCapabilities({}, function(err, list) {
if (err) {
return done(err);
}
done(function() {
assert.instanceOf(list, Object);
});
});
});
});
});