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 e88eba9 commit 59c26daCopy full SHA for 59c26da
1 file changed
test/e2e/badge.spec.ts
@@ -139,7 +139,6 @@ test.describe('badge API', () => {
139
const { body } = await fetchBadge(page, url)
140
141
expect(body).toContain('fill="#000000">version')
142
- expect(body).toMatch(/fill="#000000">v\d/)
143
})
144
145
test('3-char hex color is handled correctly for contrast', async ({ page, baseURL }) => {
@@ -158,7 +157,7 @@ test.describe('badge API', () => {
158
157
159
160
expect(body).toMatch(/fill="#ffffff"(\stextLength="\d+")?>version/)
161
+ expect(body).toMatch(/fill="#000000"(\stextLength="\d+")?>v\d/)
162
163
164
test('custom label parameter is applied to SVG', async ({ page, baseURL }) => {
0 commit comments