File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
import escapeStringRegexp from 'escape-string-regexp'
2
2
import fs from 'fs'
3
3
import Gherkin from '@cucumber/gherkin'
4
- import Messages from '@cucumber/messages'
4
+ import { IdGenerator } from '@cucumber/messages'
5
5
import { globSync } from 'glob'
6
6
import fsPath from 'path'
7
7
@@ -10,7 +10,7 @@ import Codecept from '../../codecept.js'
10
10
import output from '../../output.js'
11
11
import { matchStep } from '../../mocha/bdd.js'
12
12
13
- const uuidFn = Messages . IdGenerator . uuid ( )
13
+ const uuidFn = IdGenerator . uuid ( )
14
14
const builder = new Gherkin . AstBuilder ( uuidFn )
15
15
const matcher = new Gherkin . GherkinClassicTokenMatcher ( )
16
16
const parser = new Gherkin . Parser ( builder , matcher )
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import recorder from '../recorder.js'
3
3
import Codecept from '../codecept.js'
4
4
import Container from '../container.js'
5
5
import event from '../event.js'
6
+ import pause from '../pause.js'
6
7
import output from '../output.js'
7
8
const webHelpers = Container . STANDARD_ACTING_HELPERS
8
9
@@ -51,7 +52,7 @@ export default async function (path, options) {
51
52
break
52
53
}
53
54
}
54
- require ( '../ pause' ) ( )
55
+ pause ( )
55
56
// recorder.catchWithoutStop((err) => console.log(err.stack));
56
57
recorder . add ( ( ) => event . emit ( event . test . after , { } ) )
57
58
recorder . add ( ( ) => event . emit ( event . suite . after , { } ) )
You can’t perform that action at this time.
0 commit comments