File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2020 "plugins" : [" import" , " prettier" ],
2121 "rules" : {
2222 "no-plusplus" : [2 , {
23- "allowForLoopAfterthoughts" : " true"
23+ "allowForLoopAfterthoughts" : true
2424 }],
2525 "prettier/prettier" : [
2626 " error"
2727 ]
2828 },
29- "ignorePatterns" : [" jest.config.js " ]
29+ "ignorePatterns" : [" jest.config.ts " ]
3030}
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ xdescribe('Express Middleware tests', () => {
7070 describe ( '...successfully connects to redis using standard connection options' , ( ) => {
7171 beforeEach ( ( ) => {
7272 // TODO: Setup mock redis store.
73- redisMock ;
7473 } ) ;
7574
7675 test ( '...via url' , ( ) => {
@@ -346,11 +345,13 @@ xdescribe('Express Middleware tests', () => {
346345 await client . connect ( ) ;
347346 // Check for change in the redis store for the IP key
348347
348+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
349349 // @ts -ignore mockRequest will always have an ip address.
350350 const initialValue : string | null = await client . get ( mockRequest . ip ) ;
351351
352352 middleware ( mockRequest as Request , mockResponse as Response , nextFunction ) ;
353353
354+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
354355 // @ts -ignore
355356 const finalValue : string | null = await client . get ( mockRequest . ip ) ;
356357
You can’t perform that action at this time.
0 commit comments