Skip to content

Commit

Permalink
chore(unsplash.avatar): update deprecation since property
Browse files Browse the repository at this point in the history
  • Loading branch information
xDivisionByZerox committed Jun 12, 2022
1 parent dac19f3 commit 33024bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/image/providers/unsplash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Unsplash {
deprecated({
deprecated: 'faker.image.unsplash.avatar()',
proposed: 'faker.image.avatar()',
since: 'v7.2.0',
since: 'v7.3.0',
until: 'v8.0.0',
});
return this.faker.internet.avatar();
Expand Down
2 changes: 1 addition & 1 deletion test/image.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ describe('image', () => {
const logMessage = consoleSpy.mock.calls[0][0];
expect(logMessage).toContain('faker.image.unsplash.avatar()');
expect(logMessage).toContain('faker.image.avatar()');
expect(logMessage).toContain('v7.2.0');
expect(logMessage).toContain('v7.3.0');
expect(logMessage).toContain('v8.0.0');
});
});
Expand Down

0 comments on commit 33024bd

Please sign in to comment.