Skip to content

Commit 9dde5d0

Browse files
authored
chore: fix typos (#2391)
1 parent e75764d commit 9dde5d0

File tree

13 files changed

+31
-31
lines changed

13 files changed

+31
-31
lines changed

dependency-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ignoreErrors:
2121
shouldBeDevDependency:
2222
- '@cucumber/message-streams' # peer dependency of @cucumber/gherkin-streams
2323
unused:
24-
- '@cucumber/compatibility-kit' # files dynamically loaded in cck test, not require'd
24+
- '@cucumber/compatibility-kit' # files dynamically loaded in cck test, not required
2525
- '@typescript-eslint/eslint-plugin' # peer dependency of standard-with-typescript
2626
- '@typescript-eslint/parser' # peer dependency of @typescript-eslint/eslint-plugin
2727
- '@types/*' # type definitions

docs/first-time-contributor-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ This option applies to the progress formatter and the summary formatter.
394394
```
395395
396396
Now we should add an entry in the CHANGELOG.md. Open it, locate the `### Added` section
397-
for the unreleased changes, and add somethig about the changes we just did:
397+
for the unreleased changes, and add something about the changes we just did:
398398
399399
```markdown
400400

docs/retro/2021/07/17.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This retrospective was from the first [new contributors mob/ensemble]. Sadly [@m
3535

3636
* Do this regularly but on any codebase, not just Cucumber
3737
* Would it be easier to just run it locally on one of our machines?
38-
* Matt do more homeowrk on twitch setup
38+
* Matt do more homework on twitch setup
3939
* Let's do this again!
4040
* Update CONTRIBUTING.md guide to include pointers to basics about forking, how to name your branch etc., and some words of comfort and encouragement to make mistakes, ask for help etc.
4141

docs/retro/2022/01/21.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
* Matt: Our docs don't give people enough context as they arrive - straight into the guts of installation without any signposts
2626
* Matt: How much we discovered about a problem I thought was simple. I love example mapping!
2727
* Kate: I wanted to be more actively participating in the miro board. More hands on. Was it a lack of familiarity? Should we have mad more formal mob roles? What are the rules of the example mapping game?
28-
* Kate: It was fun, thankyou!
28+
* Kate: It was fun, thank you!
2929

3030
## Actions
3131

3232
* Matt: figure out where we should implement this - in the existing commitbit repo or somewhere else?
33-
* Kate: think about the process and formalising exmaple mapping
33+
* Kate: think about the process and formalising example mapping

features/data_tables.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Feature: Data Tables
3333
Given a table step
3434
| Vegetable | Rating |
3535
| Apricot | 5 |
36-
| Brocolli | 2 |
36+
| Broccoli | 2 |
3737
| Cucumber | 10 |
3838
"""
3939
Given a file named "features/step_definitions/passing_steps.js" with:
@@ -44,7 +44,7 @@ Feature: Data Tables
4444
Given(/^a table step$/, function(table) {
4545
const expected = [
4646
['Apricot', '5'],
47-
['Brocolli', '2'],
47+
['Broccoli', '2'],
4848
['Cucumber', '10']
4949
]
5050
assert.deepEqual(table.rows(), expected)
@@ -86,7 +86,7 @@ Feature: Data Tables
8686
Given a table step
8787
| Vegetable | Rating |
8888
| Apricot | 5 |
89-
| Brocolli | 2 |
89+
| Broccoli | 2 |
9090
| Cucumber | 10 |
9191
"""
9292
Given a file named "features/step_definitions/passing_steps.js" with:
@@ -97,7 +97,7 @@ Feature: Data Tables
9797
Given(/^a table step$/, function(table) {
9898
const expected = [
9999
{'Vegetable': 'Apricot', 'Rating': '5'},
100-
{'Vegetable': 'Brocolli', 'Rating': '2'},
100+
{'Vegetable': 'Broccoli', 'Rating': '2'},
101101
{'Vegetable': 'Cucumber', 'Rating': '10'}
102102
]
103103
assert.deepEqual(table.hashes(), expected)

features/step_definition_snippets_interfaces.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Feature: step definition snippets custom syntax
22

33
As a developer writing my step definitions in another JS dialect
4-
I want to be able to see step definition snippets in the language I perfer
4+
I want to be able to see step definition snippets in the language I prefer
55

66
Background:
77
Given a file named "features/undefined.feature" with:

features/step_definitions/parallel_steps.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function getSetsOfPicklesRunningAtTheSameTime(
88
): string[] {
99
const pickleIdToName: Record<string, string> = {}
1010
const testCaseIdToPickleId: Record<string, string> = {}
11-
const testCaseStarteIdToPickleId: Record<string, string> = {}
11+
const testCaseStartedIdToPickleId: Record<string, string> = {}
1212
let currentRunningPickleIds: string[] = []
1313
const result: string[] = []
1414
envelopes.forEach((envelope) => {
@@ -18,7 +18,7 @@ function getSetsOfPicklesRunningAtTheSameTime(
1818
testCaseIdToPickleId[envelope.testCase.id] = envelope.testCase.pickleId
1919
} else if (envelope.testCaseStarted != null) {
2020
const pickleId = testCaseIdToPickleId[envelope.testCaseStarted.testCaseId]
21-
testCaseStarteIdToPickleId[envelope.testCaseStarted.id] = pickleId
21+
testCaseStartedIdToPickleId[envelope.testCaseStarted.id] = pickleId
2222
currentRunningPickleIds.push(pickleId)
2323
if (currentRunningPickleIds.length > 1) {
2424
const setOfPickleNames = currentRunningPickleIds
@@ -29,7 +29,7 @@ function getSetsOfPicklesRunningAtTheSameTime(
2929
}
3030
} else if (envelope.testCaseFinished != null) {
3131
const pickleId =
32-
testCaseStarteIdToPickleId[envelope.testCaseFinished.testCaseStartedId]
32+
testCaseStartedIdToPickleId[envelope.testCaseFinished.testCaseStartedId]
3333
currentRunningPickleIds = currentRunningPickleIds.filter(
3434
(x) => x != pickleId
3535
)

features/usage_formatter.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Feature: usage formatter
22

33
As a developer with slow or unused steps
44
I want a formatter which just outputs the step definition usage
5-
So I know where my bottelnecks are and what step definitions I can remove
5+
So I know where my bottlenecks are and what step definitions I can remove
66

77

88
Scenario:

src/cli/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function orderPickles<T = string>(
8585
break
8686
default:
8787
throw new Error(
88-
'Unrecgonized order type. Should be `defined` or `random`'
88+
'Unrecognized order type. Should be `defined` or `random`'
8989
)
9090
}
9191
}

src/formatter/helpers/formatters.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ const Formatters = {
2828
}
2929
},
3030
buildFormattersDocumentationString(): string {
31-
let concatanatedFormattersDocumentation: string = ''
31+
let concatenatedFormattersDocumentation: string = ''
3232
const formatters = this.getFormatters()
3333
for (const formatterName in formatters) {
34-
concatanatedFormattersDocumentation += ` ${formatterName}: ${formatters[formatterName].documentation}\n`
34+
concatenatedFormattersDocumentation += ` ${formatterName}: ${formatters[formatterName].documentation}\n`
3535
}
3636

37-
return concatanatedFormattersDocumentation
37+
return concatenatedFormattersDocumentation
3838
},
3939
}
4040

0 commit comments

Comments
 (0)