@@ -23,6 +23,7 @@ describe('Unit | Domain | Models | Assessment', function () {
23
23
hasCheckpoints : true ,
24
24
showProgressBar : true ,
25
25
showLevelup : true ,
26
+ showQuestionCounter : true ,
26
27
expectedTitle : 'Ma Compétence' ,
27
28
attributes : { title : 'Ma Compétence' } ,
28
29
} ,
@@ -32,6 +33,7 @@ describe('Unit | Domain | Models | Assessment', function () {
32
33
hasCheckpoints : false ,
33
34
showProgressBar : false ,
34
35
showLevelup : false ,
36
+ showQuestionCounter : true ,
35
37
expectedTitle : 'certificationCourseId' ,
36
38
attributes : { certificationCourseId : 'certificationCourseId' } ,
37
39
} ,
@@ -41,6 +43,7 @@ describe('Unit | Domain | Models | Assessment', function () {
41
43
hasCheckpoints : false ,
42
44
showProgressBar : true ,
43
45
showLevelup : false ,
46
+ showQuestionCounter : true ,
44
47
expectedTitle : 'Mon Course' ,
45
48
attributes : { title : 'Mon Course' } ,
46
49
} ,
@@ -50,6 +53,7 @@ describe('Unit | Domain | Models | Assessment', function () {
50
53
hasCheckpoints : false ,
51
54
showProgressBar : false ,
52
55
showLevelup : false ,
56
+ showQuestionCounter : true ,
53
57
expectedTitle : 'Preview' ,
54
58
attributes : { } ,
55
59
} ,
@@ -59,6 +63,7 @@ describe('Unit | Domain | Models | Assessment', function () {
59
63
hasCheckpoints : true ,
60
64
showProgressBar : true ,
61
65
showLevelup : true ,
66
+ showQuestionCounter : true ,
62
67
expectedTitle : 'Ma Campagne' ,
63
68
// eslint-disable-next-line mocha/no-setup-in-describe
64
69
attributes : { campaign : domainBuilder . buildCampaign ( { title : 'Ma Campagne' , type : CampaignTypes . ASSESSMENT } ) } ,
@@ -69,6 +74,7 @@ describe('Unit | Domain | Models | Assessment', function () {
69
74
hasCheckpoints : false ,
70
75
showProgressBar : false ,
71
76
showLevelup : false ,
77
+ showQuestionCounter : false ,
72
78
expectedTitle : 'Ma Campagne' ,
73
79
// eslint-disable-next-line mocha/no-setup-in-describe
74
80
attributes : { campaign : domainBuilder . buildCampaign ( { title : 'Ma Campagne' , type : CampaignTypes . EXAM } ) } ,
@@ -79,6 +85,7 @@ describe('Unit | Domain | Models | Assessment', function () {
79
85
hasCheckpoints : false ,
80
86
showProgressBar : false ,
81
87
showLevelup : false ,
88
+ showQuestionCounter : true ,
82
89
expectedTitle : 'Ma Campagne' ,
83
90
attributes : {
84
91
// eslint-disable-next-line mocha/no-setup-in-describe
0 commit comments