diff --git a/packages/core/src/percy.js b/packages/core/src/percy.js index 8cf494d43..a534d9dfd 100644 --- a/packages/core/src/percy.js +++ b/packages/core/src/percy.js @@ -494,7 +494,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 b426c02d6..ee6aeb314 100644 --- a/packages/core/test/percy.test.js +++ b/packages/core/test/percy.test.js @@ -1290,7 +1290,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',