diff --git a/packages/core/src/percy.js b/packages/core/src/percy.js index 333801783..b66e66a62 100644 --- a/packages/core/src/percy.js +++ b/packages/core/src/percy.js @@ -482,7 +482,7 @@ export class Percy { const referenceDocLinks = item?.reference_doc_link; if (options?.snapshotLevel) { - this.log.warn(`Detected erorr for Snapshot: ${options?.snapshotName}`); + this.log.warn(`Detected error for Snapshot: ${options?.snapshotName}`); } else { this.log.warn('Detected error for percy build'); } diff --git a/packages/core/test/percy.test.js b/packages/core/test/percy.test.js index 4228e73c1..9a1a95acb 100644 --- a/packages/core/test/percy.test.js +++ b/packages/core/test/percy.test.js @@ -1289,7 +1289,7 @@ describe('Percy', () => { })).toBeResolved(); expect(logger.stderr).toEqual(jasmine.arrayContaining([ - '[percy] Detected erorr for Snapshot: Snapshot 1', + '[percy] Detected error for Snapshot: Snapshot 1', '[percy] Failure: some failure reason', '[percy] Failure Reason: undefined', '[percy] Suggestion: some suggestion',