Skip to content

Commit 04805a3

Browse files
Update dependency @cucumber/compatibility-kit to v19 (#81)
* Update dependency @cucumber/compatibility-kit to v19 * update cck support code --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Goss <[email protected]>
1 parent dce353c commit 04805a3

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"type-fest": "^4.33.0"
4343
},
4444
"devDependencies": {
45-
"@cucumber/compatibility-kit": "^18.0.3",
45+
"@cucumber/compatibility-kit": "^19.0.0",
4646
"@eslint/compat": "^1.2.5",
4747
"@eslint/eslintrc": "^3.2.0",
4848
"@eslint/js": "^9.18.0",

test/cck/attachments/support.mjs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,6 @@ When('an array with {int} bytes is attached as {string}', async (t, size, mediaT
2525
await t.attach(buffer, { mediaType })
2626
})
2727

28-
When('a JPEG image is attached', async (t) => {
29-
await t.attach(fs.createReadStream(import.meta.dirname + '/cucumber.jpeg'), {
30-
mediaType: 'image/jpeg',
31-
})
32-
})
33-
34-
When('a PNG image is attached', async (t) => {
35-
await t.attach(fs.createReadStream(import.meta.dirname + '/cucumber.png'), {
36-
mediaType: 'image/png',
37-
})
38-
})
39-
4028
When('a PDF document is attached and renamed', async (t) => {
4129
await t.attach(fs.createReadStream(import.meta.dirname + '/document.pdf'), {
4230
mediaType: 'application/pdf',

0 commit comments

Comments
 (0)