fix(tests): make mocks for rest octokit async
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**Mocked data */
|
||||
export default function({ faker }, target, that, [{ username }]) {
|
||||
export default async function({ faker }, target, that, [{ username }]) {
|
||||
console.debug("metrics/compute/mocks > mocking rest api result > rest.repos.getByUsername")
|
||||
return ({
|
||||
status: 200,
|
||||
|
||||
Reference in New Issue
Block a user