File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -404,29 +404,20 @@ describe("git", () => {
404404
405405 await makeFileChanges ( repoDirectory , "with-unchanged-symlink" ) ;
406406
407- // The symlink was committed locally and is unchanged in workdir.
408- // The tree walk should skip it since oids match.
409- // GitHub push may fail because local commit doesn't exist on GitHub,
410- // but the key is that no symlink error is thrown.
411- try {
412- await commitChangesFromRepo ( {
413- octokit,
414- ...REPO ,
415- branch,
416- message : {
417- headline : "Test commit" ,
418- body : "This is a test commit" ,
419- } ,
420- cwd : repoDirectory ,
421- log,
422- } ) ;
407+ await commitChangesFromRepo ( {
408+ octokit,
409+ ...REPO ,
410+ branch,
411+ message : {
412+ headline : "Test commit" ,
413+ body : "This is a test commit" ,
414+ } ,
415+ cwd : repoDirectory ,
416+ log,
417+ } ) ;
423418
424- await waitForGitHubToBeReady ( ) ;
425- await makeFileChangeAssertions ( branch ) ;
426- } catch ( error ) {
427- expect ( ( error as Error ) . message ) . not . toContain ( "Unexpected symlink" ) ;
428- expect ( ( error as Error ) . message ) . not . toContain ( "Unexpected executable" ) ;
429- }
419+ await waitForGitHubToBeReady ( ) ;
420+ await makeFileChangeAssertions ( branch ) ;
430421 } ) ;
431422
432423 it ( `should throw error when symlink is changed` , async ( ) => {
You can’t perform that action at this time.
0 commit comments