fix(tests): faker deprecations

This commit is contained in:
lowlighter committed 2022-08-28 10:28:46 -04:00
1 parent c895cb042d
commit 3afec27821
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ export default function({faker, url, body, login = faker.internet.userName()}) {
favourites: {
characters: {
nodes: new Array(2 + faker.datatype.number(16)).fill(null).map(_ => ({
name: {full: faker.name.findName(), native: faker.name.findName()},
name: {full: faker.name.fullName(), native: faker.name.fullName()},
image: {medium: null},
})),
pageInfo: {currentPage: 1, hasNextPage: false},