Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cucumber/compatibility-kit

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/compatibility-kit - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

2

features/markdown/markdown.feature.md

@@ -22,3 +22,3 @@ # Feature: Cheese

```gherkin
Given there are 4 apples in Mary's basket
Given there are 24 apples in Mary's basket
```

@@ -25,0 +25,0 @@ * When we use a data table and attach something and then <what>

@@ -1,17 +0,25 @@

import { Given, When, Then, DataTable } from '@cucumber/fake-cucumber'
import assert from 'assert'
import { Given, When, Then } from '@cucumber/fake-cucumber'
Given('some TypeScript code:', function (dataTable: DataTable) {
Given('some TypeScript code:', function (dataTable: string[][]) {
assert(dataTable)
})
Given('some classic Gherkin:', function (gherkin: string) {
assert(gherkin)
})
When('we use a data table and attach something and then {word}', function (word: string, dataTable: DataTable) {
this.log('We are logging some plain text')
if(word === 'fail') {
throw new Error('You asked me to fail')
When(
'we use a data table and attach something and then {word}',
function (word: string, dataTable: string[][]) {
assert(dataTable)
this.log(`We are logging some plain text (${word})`)
if (word === 'fail') {
throw new Error('You asked me to fail')
}
}
})
)
Then('this might or might not run', function () {
// no-op
})
{
"name": "@cucumber/compatibility-kit",
"version": "6.0.0",
"version": "7.0.0",
"description": "Test data used to validate a Cucumber implementation",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc