Skip to content

Commit

Permalink
Update main.test.ts
Browse files Browse the repository at this point in the history
updating the tests for the new string
  • Loading branch information
Pantelis authored and GitHub committed Sep 28, 2023
1 parent c96d0b8 commit e88b7b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ describe('run', () => {
await run(context)

expect(core.setFailed).toHaveBeenCalledWith(
`Dependabot encountered an unexpected problem\n\nError: unexpected error retrieving job params\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)`
`Dependabot encountered an unexpected problem\n\nError: unexpected error retrieving job params\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)`
)
})

Expand Down Expand Up @@ -261,7 +261,7 @@ describe('run', () => {
await run(context)

expect(core.setFailed).toHaveBeenCalledWith(
`Dependabot encountered an unexpected problem\n\nError: fetching job details: received code 400: more details\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)`
`Dependabot encountered an unexpected problem\n\nError: fetching job details: received code 400: more details\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)`
)
})

Expand Down Expand Up @@ -417,7 +417,7 @@ describe('run', () => {
await run(context)

expect(core.setFailed).toHaveBeenCalledWith(
`Dependabot encountered an error performing the update\n\nError: the container melted\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)`
`Dependabot encountered an error performing the update\n\nError: the container melted\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)`
)
})

Expand Down Expand Up @@ -455,7 +455,7 @@ describe('run', () => {
await run(context)

expect(core.setFailed).toHaveBeenCalledWith(
`Dependabot encountered an error performing the update\n\nError: error running the update\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access required)`
`Dependabot encountered an error performing the update\n\nError: error running the update\n\nFor more information see: https://test.dev/foo/bar/network/updates/1 (write access to the repository is required to view the log)`
)
})

Expand Down

0 comments on commit e88b7b3

Please sign in to comment.