fix(UnitTests): Fixing "Cannot find module @cornerstonejs/core" error while running unit tests (#5148)
This commit is contained in:
1 parent
277cef2168
commit
4a59126dd9
9 files changed
+181
-164
No files matched your search
@@ -200,7 +200,7 @@ describe('getDirectURL', () => {
|
||||
|
||||
const result = getDirectURL(config, params);
|
||||
|
||||
expect(mockedGetBulkdataValue).toHaveBeenCalledWith(config, params);
|
||||
expect(mockedGetBulkdataValue).not.toHaveBeenCalled();
|
||||
expect(mockedCreateRenderedRetrieve).toHaveBeenCalledWith(config, params);
|
||||
expect(result).toBe(renderedRetrieveURL);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user