@@ -6,7 +6,6 @@ describe('RecommendationPagination', () => {
6
6
const props : RecommendationPaginationProps = {
7
7
gotoNextPage : jest . fn ( ) ,
8
8
gotoPreviousPage : jest . fn ( ) ,
9
- handleApplyRecommendation : jest . fn ( ) ,
10
9
shouldRenderPagination : true ,
11
10
currentPage : 1 ,
12
11
totalPages : 5 ,
@@ -25,7 +24,6 @@ describe('RecommendationPagination', () => {
25
24
const props : RecommendationPaginationProps = {
26
25
gotoNextPage : jest . fn ( ) ,
27
26
gotoPreviousPage : jest . fn ( ) ,
28
- handleApplyRecommendation : jest . fn ( ) ,
29
27
shouldRenderPagination : false ,
30
28
currentPage : 1 ,
31
29
totalPages : 5 ,
@@ -43,7 +41,6 @@ describe('RecommendationPagination', () => {
43
41
const props : RecommendationPaginationProps = {
44
42
gotoNextPage : gotoNextPageMock ,
45
43
gotoPreviousPage : jest . fn ( ) ,
46
- handleApplyRecommendation : jest . fn ( ) ,
47
44
shouldRenderPagination : true ,
48
45
currentPage : 1 ,
49
46
totalPages : 5 ,
@@ -60,7 +57,6 @@ describe('RecommendationPagination', () => {
60
57
const props : RecommendationPaginationProps = {
61
58
gotoNextPage : jest . fn ( ) ,
62
59
gotoPreviousPage : gotoPreviousPageMock ,
63
- handleApplyRecommendation : jest . fn ( ) ,
64
60
shouldRenderPagination : true ,
65
61
currentPage : 1 ,
66
62
totalPages : 5 ,
@@ -77,7 +73,6 @@ describe('RecommendationPagination', () => {
77
73
const props : RecommendationPaginationProps = {
78
74
gotoNextPage : jest . fn ( ) ,
79
75
gotoPreviousPage : jest . fn ( ) ,
80
- handleApplyRecommendation : handleApplyRecommendationMock ,
81
76
shouldRenderPagination : true ,
82
77
currentPage : 1 ,
83
78
totalPages : 5 ,
@@ -91,11 +86,9 @@ describe('RecommendationPagination', () => {
91
86
} ) ;
92
87
93
88
it ( 'gotoNextPage Button is Disabled' , ( ) => {
94
- const handleApplyRecommendationMock = jest . fn ( ) ;
95
89
const props : RecommendationPaginationProps = {
96
90
gotoNextPage : jest . fn ( ) ,
97
91
gotoPreviousPage : jest . fn ( ) ,
98
- handleApplyRecommendation : handleApplyRecommendationMock ,
99
92
shouldRenderPagination : true ,
100
93
currentPage : 5 ,
101
94
totalPages : 5 ,
@@ -109,11 +102,9 @@ describe('RecommendationPagination', () => {
109
102
} ) ;
110
103
111
104
it ( 'gotoPrevPage Button is Disabled' , ( ) => {
112
- const handleApplyRecommendationMock = jest . fn ( ) ;
113
105
const props : RecommendationPaginationProps = {
114
106
gotoNextPage : jest . fn ( ) ,
115
107
gotoPreviousPage : jest . fn ( ) ,
116
- handleApplyRecommendation : handleApplyRecommendationMock ,
117
108
shouldRenderPagination : true ,
118
109
currentPage : 0 ,
119
110
totalPages : 5 ,
0 commit comments