Updated indexeddb test messages to match websql

This commit is contained in:
Alan Kligman 2014-02-18 21:49:56 -05:00
parent 49cec5df60
commit 18958fc585
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ define(["Filer", "util"], function(Filer, util) {
return; return;
} }
if(navigator.userAgent.indexOf('PhantomJS') > -1) {
console.log("Skipping Filer.FileSystem.providers.IndexedDB tests, since PhantomJS doesn't support it.");
return;
}
describe("Filer.FileSystem.providers.IndexedDB", function() { describe("Filer.FileSystem.providers.IndexedDB", function() {
it("is supported -- if it isn't, none of these tests can run.", function() { it("is supported -- if it isn't, none of these tests can run.", function() {
expect(Filer.FileSystem.providers.IndexedDB.isSupported()).to.be.true; expect(Filer.FileSystem.providers.IndexedDB.isSupported()).to.be.true;