Remove unused worker

This commit is contained in:
Tim Schaub
2022-07-27 15:46:15 -06:00
parent f2d989b299
commit c9b2b3d76a
4 changed files with 0 additions and 89 deletions

View File

@@ -1,29 +0,0 @@
import {VERSION} from '../../../../../src/ol/util.js';
import {create} from '../../../../../src/ol/worker/version.js';
describe('ol/worker/version', function () {
let worker;
beforeEach(function () {
worker = create();
});
afterEach(function () {
if (worker) {
worker.terminate();
}
worker = null;
});
describe('messaging', function () {
it('responds with the version', function (done) {
worker.addEventListener('error', done);
worker.addEventListener('message', function (event) {
expect(event.data).to.equal('version: ' + VERSION);
done();
});
worker.postMessage('test message');
});
});
});