Update comments
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/**Mocked data */
|
/**Mocked data */
|
||||||
export default function({faker, query, login = faker.internet.userName()}) {
|
export default function({faker, query, login = faker.internet.userName()}) {
|
||||||
console.debug("metrics/compute/mocks > mocking graphql api result > People")
|
console.debug("metrics/compute/mocks > mocking graphql api result > people/repository")
|
||||||
const type = query.match(/(?<type>stargazers|watchers)[(]/)?.groups?.type ?? "(unknown type)"
|
const type = query.match(/(?<type>stargazers|watchers)[(]/)?.groups?.type ?? "(unknown type)"
|
||||||
return /after: "MOCKED_CURSOR"/m.test(query) ? ({
|
return /after: "MOCKED_CURSOR"/m.test(query) ? ({
|
||||||
user:{
|
user:{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**Mocked data */
|
/**Mocked data */
|
||||||
export default function({faker, query, login = faker.internet.userName()}) {
|
export default function({faker, query, login = faker.internet.userName()}) {
|
||||||
console.debug("metrics/compute/mocks > mocking graphql api result > People")
|
console.debug("metrics/compute/mocks > mocking graphql api result > people/sponsors")
|
||||||
const type = query.match(/(?<type>sponsorshipsAsSponsor|sponsorshipsAsMaintainer)[(]/)?.groups?.type ?? "(unknown type)"
|
const type = query.match(/(?<type>sponsorshipsAsSponsor|sponsorshipsAsMaintainer)[(]/)?.groups?.type ?? "(unknown type)"
|
||||||
return /after: "MOCKED_CURSOR"/m.test(query) ? ({
|
return /after: "MOCKED_CURSOR"/m.test(query) ? ({
|
||||||
user:{
|
user:{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//
|
//Imports
|
||||||
import listEventsForAuthenticatedUser from "./listEventsForAuthenticatedUser.mjs"
|
import listEventsForAuthenticatedUser from "./listEventsForAuthenticatedUser.mjs"
|
||||||
|
|
||||||
/**Mocked data */
|
/**Mocked data */
|
||||||
|
|||||||
Reference in New Issue
Block a user