diff --git a/compatibility/features/attachments/attachments.ts b/compatibility/features/attachments/attachments.ts index 179e424fc..9107639b2 100644 --- a/compatibility/features/attachments/attachments.ts +++ b/compatibility/features/attachments/attachments.ts @@ -35,40 +35,6 @@ When( } ) -When('a JPEG image is attached', async function () { - await this.attach( - fs.createReadStream( - path.join( - process.cwd(), - 'node_modules', - '@cucumber', - 'compatibility-kit', - 'features', - 'attachments', - 'cucumber.jpeg' - ) - ), - 'image/jpeg' - ) -}) - -When('a PNG image is attached', async function () { - await this.attach( - fs.createReadStream( - path.join( - process.cwd(), - 'node_modules', - '@cucumber', - 'compatibility-kit', - 'features', - 'attachments', - 'cucumber.png' - ) - ), - 'image/png' - ) -}) - When('a PDF document is attached and renamed', async function () { await this.attach( fs.createReadStream( diff --git a/package-lock.json b/package-lock.json index c61cc27c7..1dba9e98c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "cucumber-js": "bin/cucumber.js" }, "devDependencies": { - "@cucumber/compatibility-kit": "18.0.3", + "@cucumber/compatibility-kit": "19.0.0", "@cucumber/pretty-formatter": "^2.0.0", "@cucumber/query": "13.5.0", "@eslint/compat": "^1.3.0", @@ -442,9 +442,9 @@ "integrity": "sha512-/+ooDMPtKSmvcPMDYnMZt4LuoipfFfHaYspStI4shqw8FyKcfQAmekz6G+QKWjQQrvM+7Hkljwx58MEwPCwwzg==" }, "node_modules/@cucumber/compatibility-kit": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/@cucumber/compatibility-kit/-/compatibility-kit-18.0.3.tgz", - "integrity": "sha512-ZGBwxY+kHn5jaDlgZrpPVleLuC/jLSQCRLnB6x4qxz18at1qWhL+20xbkM/7Nbky+n7itRZF+/IMC3Hlxe0B4Q==", + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/@cucumber/compatibility-kit/-/compatibility-kit-19.0.0.tgz", + "integrity": "sha512-wGFDDHo5vlkYo5YOCvfU0sjXjLizK2jKFojymrJB8kZo1wvcIDnWHriyizbUyOw1Aey2JvN9gI2mYcjwBpegVg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index bf5d04cb9..cf6bde1cb 100644 --- a/package.json +++ b/package.json @@ -257,7 +257,7 @@ "yup": "1.6.1" }, "devDependencies": { - "@cucumber/compatibility-kit": "18.0.3", + "@cucumber/compatibility-kit": "19.0.0", "@cucumber/pretty-formatter": "^2.0.0", "@cucumber/query": "13.5.0", "@eslint/compat": "^1.3.0",