File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ const cases = [
7272 ]
7373] ;
7474
75- const orginalGitHubRepo = process . env . GITHUB_REPOSITORY
75+ const orginalGitHubRepo = process . env . GITHUB_REPOSITORY ;
7676
7777describe ( 'run' , ( ) => {
7878 beforeAll ( ( ) => {
@@ -155,7 +155,7 @@ describe('run', () => {
155155 skipDelete : true ,
156156 dryRun : true ,
157157 exclude : [ ]
158- }
158+ } ;
159159 nock ( 'https://api.github.com' ) . get ( '/repos/crazy-max/ghaction-github-labeler/labels' ) . reply ( 200 , labelsFixture ( ) ) ;
160160
161161 nock ( 'https://api.github.com' )
@@ -168,10 +168,10 @@ describe('run', () => {
168168
169169 const labeler = new Labeler ( input ) ;
170170 const fileLabels = await labeler . fileLabels ;
171- expect ( fileLabels . length ) . toBe ( 16 )
172- expect ( fileLabels [ 15 ] ) . toEqual ( expect . objectContaining ( { name : " :unicorn: Special" } ) )
173- expect ( fileLabels [ 0 ] ) . toEqual ( expect . objectContaining ( { name : " :robot: bot" , description : " I am robot" } ) )
174- expect ( fileLabels [ 1 ] ) . toEqual ( expect . objectContaining ( { name : " :bug: bug" , description : " Damn bugs" } ) )
171+ expect ( fileLabels . length ) . toBe ( 16 ) ;
172+ expect ( fileLabels [ 15 ] ) . toEqual ( expect . objectContaining ( { name : ' :unicorn: Special' } ) ) ;
173+ expect ( fileLabels [ 0 ] ) . toEqual ( expect . objectContaining ( { name : ' :robot: bot' , description : ' I am robot' } ) ) ;
174+ expect ( fileLabels [ 1 ] ) . toEqual ( expect . objectContaining ( { name : ' :bug: bug' , description : ' Damn bugs' } ) ) ;
175175 expect ( ( ) => labeler . run ( ) ) . not . toThrow ( ) ;
176- } )
176+ } ) ;
177177} ) ;
You can’t perform that action at this time.
0 commit comments