Shift oidc and initWebworkers to own files

This commit is contained in:
dannyrb committed 2019-04-29 15:39:09 -04:00
1 parent 70f83f131a
commit 69fb4d7947
6 files changed
+113 -65

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import initWebWorkers from './initWebWorkers.js'
import cornerstoneWADOImageLoader from 'cornerstone-wado-image-loader'
describe('initWebWorkers', () => {
it("initializes cornerstoneWADOImageLoader's web workers", () => {
const basePath = '/'
const relativeWebWorkerScriptsPath = ''
initWebWorkers(basePath, relativeWebWorkerScriptsPath)
expect(
cornerstoneWADOImageLoader.webWorkerManager.initialize
).toHaveBeenCalled()
})
})