- add a few tests - re-organize tests to allow testing with different env vars and creating a combined coverage report - extract test data into separate files, because importing data from testA in testB leads to weird jest errors - remove `dotenv` because it's not being used - "GitHub Trends" -> "GitHub Stats Extended"
27 lines
522 B
JavaScript
27 lines
522 B
JavaScript
// @ts-check
|
|
|
|
export const data_repo = {
|
|
repository: {
|
|
username: "anuraghazra",
|
|
name: "convoychat",
|
|
stargazers: {
|
|
totalCount: 38000,
|
|
},
|
|
description: "Help us take over the world! React + TS + GraphQL Chat App",
|
|
primaryLanguage: {
|
|
color: "#2b7489",
|
|
id: "MDg6TGFuZ3VhZ2UyODc=",
|
|
name: "TypeScript",
|
|
},
|
|
forkCount: 100,
|
|
isTemplate: false,
|
|
},
|
|
};
|
|
|
|
export const data_user = {
|
|
data: {
|
|
user: { repository: data_repo.repository },
|
|
organization: null,
|
|
},
|
|
};
|