Use the API URL from the environment if it is present.

This commit is contained in:
Chris Gavin
2022-08-10 21:11:50 +01:00
parent a6d09016e7
commit bbdc9efa94
42 changed files with 122 additions and 22 deletions

View File

@@ -21,11 +21,13 @@ setupTests(test);
const sampleApiDetails = {
auth: "token",
url: "https://github.com",
apiURL: undefined,
};
const sampleGHAEApiDetails = {
auth: "token",
url: "https://example.githubenterprise.com",
apiURL: undefined,
};
test.beforeEach(() => {