Organize tests
This commit is contained in:
11
test/browser/spec/ol/asserts.test.js
Normal file
11
test/browser/spec/ol/asserts.test.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import {assert} from '../../../../src/ol/asserts.js';
|
||||
|
||||
describe('ol.asserts', function () {
|
||||
describe('ol.asserts.assert', function () {
|
||||
it('throws an exception', function () {
|
||||
expect(function () {
|
||||
assert(false, 42);
|
||||
}).to.throwException();
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user