-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathloading.test.js
More file actions
19 lines (17 loc) · 638 Bytes
/
Copy pathloading.test.js
File metadata and controls
19 lines (17 loc) · 638 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// import { startLoading, stopLoading } from './loading';
describe('start', () => {
test.todo('sends typing activity to channel');
// test('sends typing activity to channel', () => {
// startLoading(channel);
// expect(channel.startTyping).toHaveBeenCalled();
// expect(channel.stopTyping).not.toHaveBeenCalled();
// });
});
describe('stop', () => {
test.todo('sends stop typing activity to channel');
// test('sends stop typing activity to channel', () => {
// stopLoading(channel);
// expect(channel.startTyping).not.toHaveBeenCalled();
// expect(channel.stopTyping).toHaveBeenCalled();
// });
});