-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.test.ts
executable file
·33 lines (32 loc) · 996 Bytes
/
index.test.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import {
createKeyFile, errorData, hasPermission, sendErrorResponse,
sendSuccessResponse,PermissionTemplates,Permissions,logger } from './index';
describe('Package Module', () => {
it('Module should loaded ', () => {
expect(createKeyFile).toBeTruthy();
});
it('Should export createFile', () => {
expect(createKeyFile).toBeTruthy();
});
it('Should export errorData', () => {
expect(errorData).toBeTruthy();
});
it('Should export hasPermission', () => {
expect(hasPermission).toBeTruthy()
});
it('Should export sendErrorResponse', () => {
expect(sendErrorResponse).toBeTruthy();
});
it('Should export sendSuccessResponse', () => {
expect(sendSuccessResponse).toBeTruthy();
});
it('Should export PermissionsTemplate', () => {
expect(PermissionTemplates).toBeTruthy()
});
it('Should export Permissions', () => {
expect(Permissions).toBeTruthy();
});
it('Should export logger', () => {
expect(logger).toBeTruthy()
})
});