filer/tests/spec/providers.spec.js

18 lines
538 B
JavaScript
Raw Normal View History

describe("IDBFS.Providers", function() {
it("is defined", function() {
2013-11-27 00:12:25 +00:00
expect(typeof IDBFS.FileSystem.providers).not.toEqual(undefined);
});
it("has IndexedDB constructor", function() {
2013-11-27 00:12:25 +00:00
expect(typeof IDBFS.FileSystem.providers.IndexedDB).toEqual('function');
});
it("has Memory constructor", function() {
2013-11-27 00:12:25 +00:00
expect(typeof IDBFS.FileSystem.providers.Memory).toEqual('function');
});
it("has a Default constructor", function() {
2013-11-27 00:12:25 +00:00
expect(typeof IDBFS.FileSystem.providers.Default).toEqual('function');
});
});