From a463d11e575b4a04c305bfc66a349e2dad6bb258 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 17 Apr 2025 09:55:33 -0400 Subject: [PATCH] spelling: threshold Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .github/codecov.yaml | 2 +- cypress/helpers/util.ts | 2 +- cypress/support/commands.js | 4 ++-- docs/syntax/gitgraph.md | 2 +- packages/mermaid/src/docs/syntax/gitgraph.md | 2 +- scripts/compare-timings.ts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/codecov.yaml b/.github/codecov.yaml index f9af5bc30..945043085 100644 --- a/.github/codecov.yaml +++ b/.github/codecov.yaml @@ -14,5 +14,5 @@ coverage: off # Turing off for now as code coverage isn't stable and causes unnecessary build failures. # default: - # threshould: 2% + # threshold: 2% patch: off diff --git a/cypress/helpers/util.ts b/cypress/helpers/util.ts index 335a3bdd5..81b7036af 100644 --- a/cypress/helpers/util.ts +++ b/cypress/helpers/util.ts @@ -126,7 +126,7 @@ export const verifyScreenshot = (name: string): void => { cy.eyesClose(); } else if (useArgos) { cy.argosScreenshot(name, { - threshould: 0.01, + threshold: 0.01, }); } else { cy.matchImageSnapshot(name); diff --git a/cypress/support/commands.js b/cypress/support/commands.js index ea042a35f..6fc1fe17d 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -30,8 +30,8 @@ import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command'; // SSIM actually does not catch minute changes in the image, so it is not as accurate as pixelmatch. // addMatchImageSnapshotCommand({ // comparisonMethod: 'ssim', -// failureThreshould: 0.01, -// failureThreshouldType: 'percent', +// failureThreshold: 0.01, +// failureThresholdType: 'percent', // customDiffConfig: { // ssim: 'fast', // }, diff --git a/docs/syntax/gitgraph.md b/docs/syntax/gitgraph.md index 19daed03a..ffd8df3c3 100644 --- a/docs/syntax/gitgraph.md +++ b/docs/syntax/gitgraph.md @@ -1699,7 +1699,7 @@ config: > #### IMPORTANT: > -> Mermaid supports the theme variables to override the default values for **up to 8 branches**, i.e., you can set the color/styling of up to 8 branches using theme variables. After this threshould of 8 branches, the theme variables are reused in the cyclic manner, i.e. the 9th branch will use the color/styling of the 1st branch, or the branch at index position '8' will use the color/styling of the branch at index position '0'. +> Mermaid supports the theme variables to override the default values for **up to 8 branches**, i.e., you can set the color/styling of up to 8 branches using theme variables. After this threshold of 8 branches, the theme variables are reused in the cyclic manner, i.e. the 9th branch will use the color/styling of the 1st branch, or the branch at index position '8' will use the color/styling of the branch at index position '0'. > _More on this in the next section. See examples on **Customizing branch label colors** below_ ### Customizing branch colors diff --git a/packages/mermaid/src/docs/syntax/gitgraph.md b/packages/mermaid/src/docs/syntax/gitgraph.md index 2d3e0daf5..66bb2de41 100644 --- a/packages/mermaid/src/docs/syntax/gitgraph.md +++ b/packages/mermaid/src/docs/syntax/gitgraph.md @@ -987,7 +987,7 @@ config: > #### IMPORTANT: > -> Mermaid supports the theme variables to override the default values for **up to 8 branches**, i.e., you can set the color/styling of up to 8 branches using theme variables. After this threshould of 8 branches, the theme variables are reused in the cyclic manner, i.e. the 9th branch will use the color/styling of the 1st branch, or the branch at index position '8' will use the color/styling of the branch at index position '0'. +> Mermaid supports the theme variables to override the default values for **up to 8 branches**, i.e., you can set the color/styling of up to 8 branches using theme variables. After this threshold of 8 branches, the theme variables are reused in the cyclic manner, i.e. the 9th branch will use the color/styling of the 1st branch, or the branch at index position '8' will use the color/styling of the branch at index position '0'. > _More on this in the next section. See examples on **Customizing branch label colors** below_ ### Customizing branch colors diff --git a/scripts/compare-timings.ts b/scripts/compare-timings.ts index 87cd696a1..1dbfc41d0 100644 --- a/scripts/compare-timings.ts +++ b/scripts/compare-timings.ts @@ -100,7 +100,7 @@ function compareTimings(): void { const significantChanges = timingChanges.filter((t) => t.change > 5000 && t.changePercent >= 0.2); if (significantChanges.length === 0) { - log('No significant timing changes detected (threshould: 5s and 20%)'); + log('No significant timing changes detected (threshold: 5s and 20%)'); return cleanupFiles({ keepNew: false, reason: 'No significant timing changes' }); }