Add node tests

This commit is contained in:
Tim Schaub
2021-04-28 15:00:04 -07:00
parent c301d2413b
commit 7b934a06be
61 changed files with 1216 additions and 449 deletions

View File

@@ -0,0 +1,12 @@
import expect from '../expect.js';
import {assert} from '../../../src/ol/asserts.js';
describe('ol/asserts.js', function () {
describe('assert', function () {
it('throws an exception', function () {
expect(function () {
assert(false, 42);
}).to.throwException();
});
});
});