tests: move mocks to tests/*
This commit is contained in:
9
tests/mocks/api/github/graphql/introduction.user.mjs
Normal file
9
tests/mocks/api/github/graphql/introduction.user.mjs
Normal file
@@ -0,0 +1,9 @@
|
||||
/**Mocked data */
|
||||
export default function({faker, query, login = faker.internet.userName()}) {
|
||||
console.debug("metrics/compute/mocks > mocking graphql api result > introduction/user")
|
||||
return ({
|
||||
user:{
|
||||
bio:faker.lorem.sentences(),
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user