codeceptjs 4.0.0-beta.19 → 4.0.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import Gherkin from '@cucumber/gherkin'
1
+ import { AstBuilder, GherkinClassicTokenMatcher, Parser } from '@cucumber/gherkin'
2
2
  import { IdGenerator } from '@cucumber/messages'
3
3
  import { Context, Suite } from 'mocha'
4
4
  import debug from 'debug'
@@ -15,9 +15,9 @@ import { createTest } from './test.js'
15
15
  import { matchStep } from './bdd.js'
16
16
 
17
17
  const uuidFn = IdGenerator.uuid()
18
- const builder = new Gherkin.AstBuilder(uuidFn)
19
- const matcher = new Gherkin.GherkinClassicTokenMatcher()
20
- const parser = new Gherkin.Parser(builder, matcher)
18
+ const builder = new AstBuilder(uuidFn)
19
+ const matcher = new GherkinClassicTokenMatcher()
20
+ const parser = new Parser(builder, matcher)
21
21
  parser.stopAtFirstError = false
22
22
 
23
23
  const gherkinParser = (text, file) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeceptjs",
3
- "version": "4.0.0-beta.19",
3
+ "version": "4.0.0-beta.20",
4
4
  "type": "module",
5
5
  "description": "Supercharged End 2 End Testing Framework for NodeJS",
6
6
  "keywords": [