@@ -50,9 +50,9 @@ test('handles feeds without any entries', async () => {
5050 mockHTTPSGet . __RETURN__ = '<feed xmlns="http://www.w3.org/2005/Atom" />'
5151 await run ( )
5252
53- expect ( https . get ) . toBeCalledTimes ( 1 )
54- expect ( octokit . issues . listForRepo ) . not . toBeCalled ( )
55- expect ( octokit . issues . create ) . not . toBeCalled ( )
53+ expect ( https . get ) . toHaveBeenCalledTimes ( 1 )
54+ expect ( octokit . issues . listForRepo ) . not . toHaveBeenCalled ( )
55+ expect ( octokit . issues . create ) . not . toHaveBeenCalled ( )
5656} )
5757
5858test ( 'handles feed entries without titles' , async ( ) => {
@@ -62,9 +62,9 @@ test('handles feed entries without titles', async () => {
6262 octokit . issues . listForRepo . mockReturnValueOnce ( { data : [ ] } )
6363 await run ( )
6464
65- expect ( https . get ) . toBeCalledTimes ( 1 )
66- expect ( octokit . issues . listForRepo ) . toBeCalledTimes ( 1 )
67- expect ( octokit . issues . create ) . toBeCalledWith ( {
65+ expect ( https . get ) . toHaveBeenCalledTimes ( 1 )
66+ expect ( octokit . issues . listForRepo ) . toHaveBeenCalledTimes ( 1 )
67+ expect ( octokit . issues . create ) . toHaveBeenCalledWith ( {
6868 owner : 'owner' ,
6969 repo : 'repo' ,
7070 title : new Date ( date ) . toUTCString ( ) ,
@@ -106,7 +106,7 @@ Signed-off-by: Johannes Schindelin &lt;
[email protected] &gt;<
106106 octokit . issues . listForRepo . mockReturnValueOnce ( { data : [ ] } )
107107 await run ( )
108108
109- expect ( octokit . issues . create ) . toBeCalledWith ( {
109+ expect ( octokit . issues . create ) . toHaveBeenCalledWith ( {
110110 owner : 'owner' ,
111111 repo : 'repo' ,
112112 title : 'ci(release-tags): use newer versions of Actions' ,
0 commit comments