You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import a specific commonjs build artifact:
import SockJS from 'sockjs-client/dist/sockjs';
It works great in the library I built. However, when running unit tests I can't get passed this error:
An error was thrown in afterAll
Uncaught Error: Can't find sockjs-client/dist/sockjs [undefined] (required by /Volumes/T16-Skyhopper/cxone/libs/cxone-client-platform-services/src/lib/notification/notification.service.ts)
Error: Can't find sockjs-client/dist/sockjs [undefined] (required by /Volumes/T16-Skyhopper/cxone/libs/cxone-client-platform-services/src/lib/notification/notification.service.ts)
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to import a specific commonjs build artifact:
import SockJS from 'sockjs-client/dist/sockjs';
It works great in the library I built. However, when running unit tests I can't get passed this error:
An error was thrown in afterAll
Uncaught Error: Can't find sockjs-client/dist/sockjs [undefined] (required by /Volumes/T16-Skyhopper/cxone/libs/cxone-client-platform-services/src/lib/notification/notification.service.ts)
Error: Can't find sockjs-client/dist/sockjs [undefined] (required by /Volumes/T16-Skyhopper/cxone/libs/cxone-client-platform-services/src/lib/notification/notification.service.ts)
The text was updated successfully, but these errors were encountered: