Converted "vector" branch unit tests to mocha, expect.js and sinon
This commit is contained in:
@@ -6,8 +6,8 @@ describe('ol.source.Vector', function() {
|
||||
describe('constructor', function() {
|
||||
it('creates an instance', function() {
|
||||
var source = new ol.source.Vector({});
|
||||
expect(source).toBeA(ol.source.Vector);
|
||||
expect(source).toBeA(ol.source.Source);
|
||||
expect(source).to.be.a(ol.source.Vector);
|
||||
expect(source).to.be.a(ol.source.Source);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user