@@ -11,7 +11,7 @@ describe("Reports", () => {
11
11
describe ( "request a messages report" , ( ) => {
12
12
describe ( 'when the client sends a valid request' , ( ) => {
13
13
it ( "should pass" , async ( ) => {
14
- const data = { startDate : "2023-06 -01" , endDate : "2023-06-30 " , reportCallbackUrl : "https://www.example.com" , filter :"test" }
14
+ const data = { startDate : "2024-05 -01" , endDate : "2024-05-10 " , reportCallbackUrl : "https://www.example.com" , filter :"test" }
15
15
await expect ( reports . create ( data ) ) . resolves . toEqual ( Constants . CREATE_MESSAGES_REPORT_RESPONSE ) ;
16
16
} ) ;
17
17
} ) ;
@@ -26,26 +26,26 @@ describe("Reports", () => {
26
26
} ) ;
27
27
} ) ;
28
28
29
- describe ( "fetch a report" , ( ) => {
30
- describe ( 'when the client sends a valid request' , ( ) => {
31
- it ( "should pass" , async ( ) => {
32
- await expect ( reports . get ( '6940c774-4335-4d2b-b758-4ecb19412e85' ) ) . resolves . toEqual ( Constants . GET_MESSAGES_REPORT_RESPONSE ) ;
33
- } ) ;
34
- } ) ;
35
-
36
- // describe('when the client sends [virtualNumber] as integer', () => {
37
- // it("should throw an assertion error", async () => {
38
- // const callback = async () => virtualNumber.get(412345678);
39
- // await expect(callback).rejects
40
- // .toThrow(
41
- // new AssertionError({
42
- // errorCode: `MISSING_ATTRIBUTE`,
43
- // errorMessage: `data.virtualNumber should be string`,
44
- // })
45
- // );
46
- // });
47
- // });
48
-
49
- } ) ;
29
+ // describe("fetch a report", () => {
30
+ // describe('when the client sends a valid request', () => {
31
+ // it("should pass", async () => {
32
+ // await expect(reports.get('6940c774-4335-4d2b-b758-4ecb19412e85')).resolves.toEqual(Constants.GET_MESSAGES_REPORT_RESPONSE);
33
+ // });
34
+ // });
35
+
36
+ // describe('when the client sends [virtualNumber] as integer', () => {
37
+ // it("should throw an assertion error", async () => {
38
+ // const callback = async () => virtualNumber.get(412345678);
39
+ // await expect(callback).rejects
40
+ // .toThrow(
41
+ // new AssertionError({
42
+ // errorCode: `MISSING_ATTRIBUTE`,
43
+ // errorMessage: `data.virtualNumber should be string`,
44
+ // })
45
+ // );
46
+ // });
47
+ // });
48
+
49
+ // });
50
50
51
51
} ) ;
0 commit comments