mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 12:08:01 +00:00
feat: Add chatwoot:error sdk event (#3998)
This commit is contained in:
8
app/javascript/sdk/specs/cookieHelpers.spec.js
Normal file
8
app/javascript/sdk/specs/cookieHelpers.spec.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { getUserCookieName } from '../cookieHelpers';
|
||||
|
||||
describe('#getUserCookieName', () => {
|
||||
it('returns correct cookie name', () => {
|
||||
global.$chatwoot = { websiteToken: '123456' };
|
||||
expect(getUserCookieName()).toBe('cw_user_123456');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user