tests: move mocks to tests/*
This commit is contained in:
8
tests/mocks/api/github/rest/activity/listRepoEvents.mjs
Normal file
8
tests/mocks/api/github/rest/activity/listRepoEvents.mjs
Normal file
@@ -0,0 +1,8 @@
|
||||
//Imports
|
||||
import listEventsForAuthenticatedUser from "./listEventsForAuthenticatedUser.mjs"
|
||||
|
||||
/**Mocked data */
|
||||
export default function({faker}, target, that, [{username:login, page, per_page}]) {
|
||||
console.debug("metrics/compute/mocks > mocking rest api result > rest.activity.listRepoEvents")
|
||||
return listEventsForAuthenticatedUser(...arguments)
|
||||
}
|
||||
Reference in New Issue
Block a user