We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2c6f2 commit f997d05Copy full SHA for f997d05
__tests__/image-service.test.ts
@@ -8,10 +8,8 @@ jest.mock('@actions/core')
8
describe('ImageService', () => {
9
describe('when asked to fetch non-GitHub hosted images', () => {
10
test('it raises an error', async () => {
11
- await expect(ImageService.pull('hello-world')).rejects.toThrowError(
12
- new Error(
13
- 'Only images distributed via docker.pkg.github.com or ghcr.io can be fetched'
14
- )
+ await expect(ImageService.pull('hello-world')).rejects.toThrow(
+ 'Only images distributed via docker.pkg.github.com or ghcr.io can be fetched'
15
)
16
})
17
0 commit comments