Add worker loader to the tests

This commit is contained in:
Tim Schaub
2019-05-15 16:49:54 -06:00
parent 05f13bb363
commit b7b37f9548
2 changed files with 40 additions and 0 deletions

View File

@@ -86,6 +86,14 @@ module.exports = function(karma) {
},
include: path.resolve('src/ol/'),
exclude: path.resolve('node_modules/')
}, {
test: /\.js$/,
use: {
loader: path.join(__dirname, '../examples/webpack/worker-loader.js')
},
include: [
path.join(__dirname, '../src/ol/worker')
]
}
]
}