Updates test that is failing cuz of instanceof

- Something weird is happening here, instanceof is not giving the right value
This commit is contained in:
Florent Vilmart
2016-03-24 00:57:49 -04:00
parent 1e45ac753a
commit 3d3ed53c5f

View File

@@ -38,7 +38,11 @@ describe("AdapterLoader", ()=>{
adapter: adapterPath
});
expect(adapter instanceof FilesAdapter).toBe(true);
expect(typeof adapter).toBe('object');
expect(typeof adapter.createFile).toBe('function');
expect(typeof adapter.deleteFile).toBe('function');
expect(typeof adapter.getFileData).toBe('function');
expect(typeof adapter.getFileLocation).toBe('function');
done();
});