Skip to content

Commit f7288e9

Browse files
committed
add enum unit tests
1 parent 696019c commit f7288e9

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { InboundCallbackTypeEnum } from '../../../models/inbound-callback-type-enum';
2+
3+
describe('InboundCallbackTypeEnum', () => {
4+
test('should define the expected values', () => {
5+
expect(InboundCallbackTypeEnum.MessageReceived).toBe('message-received');
6+
expect(InboundCallbackTypeEnum.RequestLocationResponse).toBe('request-location-response');
7+
expect(InboundCallbackTypeEnum.SuggestionResponse).toBe('suggestion-response');
8+
});
9+
});
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { StatusCallbackTypeEnum } from '../../../models/status-callback-type-enum';
2+
3+
describe('StatusCallbackTypeEnum', () => {
4+
test('should define the expected values', () => {
5+
expect(StatusCallbackTypeEnum.MessageSending).toBe('message-sending');
6+
expect(StatusCallbackTypeEnum.MessageDelivered).toBe('message-delivered');
7+
expect(StatusCallbackTypeEnum.MessageFailed).toBe('message-failed');
8+
expect(StatusCallbackTypeEnum.MessageRead).toBe('message-read');
9+
});
10+
});

0 commit comments

Comments
 (0)