UNPKG

@moveo-ai/web-widget

Version:

Client side library to load the moveo chat widget and connect it with your agent

20 lines (15 loc) 480 B
const MoveoAI = require('./index'); const Util = require('./utils'); test('MoveoAI should expose only init function', () => { expect(MoveoAI).not.toBe(null); }); // test('sendNewMessage', () => { // expect(MoveoAI.sendNewMessage).toBeTruthy(); // }); test('generateUUID', () => { expect(Util.generateUUID()).toBeTruthy(); expect(typeof Util.generateUUID()).toBe('string'); }); // test('sendNewMessage', () => { // expect(MoveoAI.sendNewMessage).toBeTruthy(); // });