Skip to content

Commit

Permalink
Fix Docker version test
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Jun 9, 2024
1 parent 18b4c5f commit 5f66c40
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions services/docker/docker-version.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import { isSemver } from '../test-validators.js'
import { createServiceTester } from '../tester.js'
export const t = await createServiceTester()

t.create('docker version (valid, library)').get('/_/alpine.json').expectBadge({
label: 'version',
message: isSemver,
})
t.create('docker version (valid, library)')
.get('/_/memcached.json')
.expectBadge({
label: 'version',
message: isSemver,
})

t.create('docker version (valid, library with tag)')
.get('/_/alpine/latest.json')
Expand Down

0 comments on commit 5f66c40

Please sign in to comment.