Commit dd9ca2df authored by Yaxel Perez's avatar Yaxel Perez

basic testing

parent 20cfa389
// TODO: Add license probably
(function (jIO, QUnit, Blob) {
"use strict";
function TestStorage () {
return this;
}
jIO.addStorage('teststorage', TestStorage);
module("NoCapacityStorage");
QUnit.test('test constructor', function () {
var jio = jIO.createJIO({
type="nocapacity",
schema: {'date': {'type': 'string', format: 'date-time'}},
sub_storage: {
type: 'teststorage'
}
});
});
QUnit.test('test hasCapacity', function () {
var jio = jIO.createJIO({
type="nocapacity",
schema: {'date': {'type': 'string', format: 'date-time'}},
sub_storage: {
type: 'teststorage'
}
});
QUnit.equal(jio.hasCapacity('query'), false);
});
})(jIO, QUnit, Blob));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment