File tree 2 files changed +15
-8
lines changed
2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blo
22
22
23
23
### Fixed
24
24
25
+ * Replace ` @cucumber/cucumber ` deep imports with equivalents from main entry point
26
+
25
27
## [ 1.0.0-alpha.1] ( https://github.com/jbpros/cucumber-pretty-formatter/compare/v1.0.0-alpha.0...v1.0.0-alpha.1 )
26
28
27
29
### Fixed
Original file line number Diff line number Diff line change 1
- import { Status , SummaryFormatter } from '@cucumber/cucumber'
2
- import { IFormatterOptions } from '@cucumber/cucumber/lib/formatter'
3
- import { formatLocation } from '@cucumber/cucumber/lib/formatter/helpers'
4
1
import {
5
- getGherkinExampleRuleMap ,
6
- getGherkinScenarioMap ,
7
- getGherkinStepMap ,
8
- } from '@cucumber/cucumber/lib/formatter/helpers/gherkin_document_parser'
9
- import { getPickleStepMap } from '@cucumber/cucumber/lib/formatter/helpers/pickle_parser '
2
+ Status ,
3
+ SummaryFormatter ,
4
+ IFormatterOptions ,
5
+ formatterHelpers ,
6
+ } from '@cucumber/cucumber'
10
7
import * as messages from '@cucumber/messages'
11
8
import * as CliTable3 from 'cli-table3'
12
9
import { cross , tick } from 'figures'
@@ -15,6 +12,14 @@ import dedent from 'ts-dedent'
15
12
16
13
import { makeTheme , ThemeItem , ThemeStyles } from './theme'
17
14
15
+ const { formatLocation, GherkinDocumentParser, PickleParser } = formatterHelpers
16
+ const {
17
+ getGherkinExampleRuleMap,
18
+ getGherkinScenarioMap,
19
+ getGherkinStepMap,
20
+ } = GherkinDocumentParser
21
+ const { getPickleStepMap } = PickleParser
22
+
18
23
const marks = {
19
24
[ Status . AMBIGUOUS ] : cross ,
20
25
[ Status . FAILED ] : cross ,
You can’t perform that action at this time.
0 commit comments