@@ -26,21 +26,12 @@ describe('renderer/utils/features.ts', () => {
26
26
it ( 'should return true for GitHub Enterprise Server >= v3.13' , ( ) => {
27
27
const account = {
28
28
...mockGitHubEnterpriseServerAccount ,
29
- version : '3.13.3 ' ,
29
+ version : '3.13.0 ' ,
30
30
} ;
31
31
32
32
expect ( isMarkAsDoneFeatureSupported ( account ) ) . toBe ( true ) ;
33
33
} ) ;
34
34
35
- it ( 'should return false for GitHub Enterprise Server when partial version available' , ( ) => {
36
- const account = {
37
- ...mockGitHubEnterpriseServerAccount ,
38
- version : '3' ,
39
- } ;
40
-
41
- expect ( isMarkAsDoneFeatureSupported ( account ) ) . toBe ( false ) ;
42
- } ) ;
43
-
44
35
it ( 'should return false for GitHub Enterprise Server when no version available' , ( ) => {
45
36
const account = {
46
37
...mockGitHubEnterpriseServerAccount ,
@@ -70,21 +61,12 @@ describe('renderer/utils/features.ts', () => {
70
61
it ( 'should return true for GitHub Enterprise Server >= v3.12' , ( ) => {
71
62
const account = {
72
63
...mockGitHubEnterpriseServerAccount ,
73
- version : '3.12.3 ' ,
64
+ version : '3.12.0 ' ,
74
65
} ;
75
66
76
67
expect ( isAnsweredDiscussionFeatureSupported ( account ) ) . toBe ( true ) ;
77
68
} ) ;
78
69
79
- it ( 'should return false for GitHub Enterprise Server when partial version available' , ( ) => {
80
- const account = {
81
- ...mockGitHubEnterpriseServerAccount ,
82
- version : '3' ,
83
- } ;
84
-
85
- expect ( isAnsweredDiscussionFeatureSupported ( account ) ) . toBe ( false ) ;
86
- } ) ;
87
-
88
70
it ( 'should return false for GitHub Enterprise Server when no version available' , ( ) => {
89
71
const account = {
90
72
...mockGitHubEnterpriseServerAccount ,
0 commit comments