Skip to content

Commit

Permalink
Works
Browse files Browse the repository at this point in the history
  • Loading branch information
MBudreviciusBentley committed Nov 12, 2024
1 parent 7b1723f commit 00bd7f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/cspell.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow to check cSpell on entire monorepo
# Workflow to run cSpell on entire monorepo

name: cSpell

Expand All @@ -10,7 +10,7 @@ on:
- release/*

jobs:
spell-check:
cspell:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
Expand All @@ -31,7 +31,3 @@ jobs:

- name: Run cSpell
run: npx cspell lint "**" --gitignore

- name: Check for misspellings
if: failure()
run: echo "Misspellings found in code. Please fix them."
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ describe("countMatchesInString", () => {
});

it("returns 2 when there're two consecutive matches", () => {
// cspell:disable-next-line
expect(countMatchesInString("abbc", "b")).toEqual(2);
});

it("returns 2 when there're two non-consecutive matches", () => {
// cspell:disable-next-line
expect(countMatchesInString("abcbd", "b")).toEqual(2);
});

Expand Down

0 comments on commit 00bd7f9

Please sign in to comment.