feat: Add chatwoot:error sdk event (#3998)

This commit is contained in:
Muhsin Keloth
2022-02-21 09:40:11 +05:30
committed by GitHub
parent 3b015d4dd8
commit 7ba24b90c4
12 changed files with 59 additions and 29 deletions

View File

@@ -1,11 +1,4 @@
import { getUserCookieName, getUserString, hasUserKeys } from '../../packs/sdk';
describe('#getUserCookieName', () => {
it('returns correct cookie name', () => {
global.$chatwoot = { websiteToken: '123456' };
expect(getUserCookieName()).toBe('cw_user_123456');
});
});
import { getUserString, hasUserKeys } from '../../packs/sdk';
describe('#getUserString', () => {
it('returns correct user string', () => {