Split tests (#88)

This commit is contained in:
Simon Lecoq
2021-02-01 20:37:17 +01:00
committed by GitHub
parent c9e530c16b
commit eb89bc3f1b
25 changed files with 575 additions and 361 deletions

View File

@@ -11,7 +11,7 @@
//Retrieving single repository
console.debug(`metrics/compute/${login}/${repo} > retrieving single repository ${repo}`)
const {[account]:{repository}} = await graphql(queries.base.repository({login, repo, account}))
const {[account === "bypass" ? "user" : account]:{repository}} = await graphql(queries.base.repository({login, repo, account}))
data.user.repositories.nodes = [repository]
data.repo = repository