Skip to content

Commit

Permalink
fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
torztomasz committed Nov 6, 2024
1 parent 1183775 commit 581aa89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe(toMatchSnapshot.name, () => {
expect(() => {
earl('baz').toMatchSnapshot(mochaContext('unknown'))
}).to.throw(
'No snapshot was found. Snapshots cannot be generated on CI. Run tests locally to generate snapshots.',
'No snapshot was found. Snapshots cannot be generated on CI. Run tests locally to generate them.',
)
})

Expand Down
2 changes: 1 addition & 1 deletion packages/earl/src/validators/snapshots/toMatchSnapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function toMatchSnapshot(control: Control, context: TestContext) {
control.assert({
success: false,
reason:
'No snapshot was found. Snapshots cannot be generated on CI. Run tests locally to generate snapshots.',
'No snapshot was found. Snapshots cannot be generated on CI. Run tests locally to generate them.',
negatedReason: '',
actual,
expected: undefined,
Expand Down

0 comments on commit 581aa89

Please sign in to comment.