Skip to content

Commit a5ab95d

Browse files
Updated test snapshot processing too
1 parent 5bb39f2 commit a5ab95d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/FAQs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ As a consequence we should:
2626
<details>
2727
<summary><code>.github/workflows/build.yaml</code></summary>
2828

29-
```yml
29+
```yaml
3030
jobs:
3131
build:
3232
runs-on: ubuntu-latest

src/blocks/blockCodecov.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ describe("blockCodecov", () => {
178178
expect(actual).toBeUndefined();
179179
});
180180

181-
it("returns undefined when ci.yaml contains invalid yml", () => {
181+
it("returns undefined when ci.yaml contains invalid YAML", () => {
182182
const actual = testIntake(blockCodecov, {
183183
files: {
184184
".github": {
185185
workflows: {
186-
"ci.yaml": ["invalid yml!"],
186+
"ci.yaml": ["invalid YAML!"],
187187
},
188188
},
189189
},

src/blocks/blockGitHubActionsCI.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,13 +426,13 @@ describe("blockGitHubActionsCI", () => {
426426
expect(actual).toBeUndefined();
427427
});
428428

429-
it("returns undefined when action.yaml contains invalid yml", () => {
429+
it("returns undefined when action.yaml contains invalid YAML", () => {
430430
const actual = testIntake(blockGitHubActionsCI, {
431431
files: {
432432
".github": {
433433
actions: {
434434
prepare: {
435-
"action.yaml": ["invalid yml!"],
435+
"action.yaml": ["invalid YAML!"],
436436
},
437437
},
438438
},

src/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ If you're interested in learning more, see the 'getting started' docs on:
136136
});
137137

138138
const processText = (text: string, filePath: string) =>
139-
/all-contributorsrc|js|md|ts|yml/.test(filePath)
139+
/all-contributorsrc|js|md|ts|yaml/.test(filePath)
140140
? prettier.format(text, { filepath: filePath, useTabs: true })
141141
: text;
142142

0 commit comments

Comments
 (0)