@@ -8,7 +8,9 @@ describe('getBadge', () => {
88 badgeTitle : 'tests'
99 }
1010 const badge = getBadge ( 5 , 0 , 1 , options )
11- expect ( badge ) . toBe ( '' )
11+ expect ( badge ) . toBe (
12+ ''
13+ )
1214 } )
1315
1416 it ( 'handles badge title with single hyphen' , ( ) => {
@@ -28,7 +30,9 @@ describe('getBadge', () => {
2830 }
2931 const badge = getBadge ( 10 , 0 , 0 , options )
3032 // All hyphens in the title should be encoded as --
31- expect ( badge ) . toBe ( '' )
33+ expect ( badge ) . toBe (
34+ ''
35+ )
3236 } )
3337
3438 it ( 'handles badge title with multiple underscores' , ( ) => {
@@ -38,7 +42,9 @@ describe('getBadge', () => {
3842 }
3943 const badge = getBadge ( 10 , 0 , 0 , options )
4044 // All underscores in the title should be encoded as __
41- expect ( badge ) . toBe ( '' )
45+ expect ( badge ) . toBe (
46+ ''
47+ )
4248 } )
4349
4450 it ( 'handles badge title with version format containing hyphen' , ( ) => {
@@ -48,7 +54,9 @@ describe('getBadge', () => {
4854 }
4955 const badge = getBadge ( 1 , 0 , 0 , options )
5056 // The hyphen in "12.0-ubi" should be encoded as --
51- expect ( badge ) . toBe ( '' )
57+ expect ( badge ) . toBe (
58+ ''
59+ )
5260 } )
5361
5462 it ( 'handles badge title with dots and hyphens' , ( ) => {
@@ -57,7 +65,9 @@ describe('getBadge', () => {
5765 badgeTitle : 'v1.2.3-beta-test'
5866 }
5967 const badge = getBadge ( 4 , 1 , 0 , options )
60- expect ( badge ) . toBe ( '' )
68+ expect ( badge ) . toBe (
69+ ''
70+ )
6171 } )
6272
6373 it ( 'preserves structural hyphens between label and message' , ( ) => {
@@ -67,7 +77,9 @@ describe('getBadge', () => {
6777 }
6878 const badge = getBadge ( 2 , 3 , 1 , options )
6979 // The URI should have literal hyphens separating title-message-color
70- expect ( badge ) . toBe ( '' )
80+ expect ( badge ) . toBe (
81+ ''
82+ )
7183 } )
7284 } )
7385
@@ -107,7 +119,9 @@ describe('getBadge', () => {
107119 it ( 'includes passed, failed and skipped counts' , ( ) => {
108120 const options : ReportOptions = { ...DEFAULT_OPTIONS }
109121 const badge = getBadge ( 5 , 2 , 1 , options )
110- expect ( badge ) . toBe ( '' )
122+ expect ( badge ) . toBe (
123+ ''
124+ )
111125 } )
112126
113127 it ( 'uses "none" message when no tests' , ( ) => {
@@ -117,4 +131,3 @@ describe('getBadge', () => {
117131 } )
118132 } )
119133} )
120-
0 commit comments