generated from nhcarrigan/template
chore: add anonymous testimonial #12
+6
-4
@@ -114,9 +114,10 @@ describe("project data", () => {
|
|||||||
).resolves.toBeTruthy();
|
).resolves.toBeTruthy();
|
||||||
}
|
}
|
||||||
|
|
||||||
// We explicitly skip the VSCode url because it blocks our request.
|
// We explicitly skip the VSCode and npm urls because they block automated requests.
|
||||||
if (project.url
|
if (project.url
|
||||||
&& !project.url.startsWith("https://marketplace.visualstudio.com")) {
|
&& !project.url.startsWith("https://marketplace.visualstudio.com")
|
||||||
|
&& !project.url.startsWith("https://www.npmjs.com")) {
|
||||||
expect(
|
expect(
|
||||||
typeof project.url,
|
typeof project.url,
|
||||||
`Project url should be a string for project: ${
|
`Project url should be a string for project: ${
|
||||||
@@ -460,10 +461,11 @@ describe("donate data", () => {
|
|||||||
}`,
|
}`,
|
||||||
).toBe("string");
|
).toBe("string");
|
||||||
|
|
||||||
// We explicitly skip Ko-Fi, Throne, and Twitch because they block all automated requests.
|
// We explicitly skip Ko-Fi, Throne, Twitch, and Patreon because they block all automated requests.
|
||||||
if (!method.url.startsWith("https://ko-fi.com")
|
if (!method.url.startsWith("https://ko-fi.com")
|
||||||
&& !method.url.startsWith("https://throne.com")
|
&& !method.url.startsWith("https://throne.com")
|
||||||
&& !method.url.startsWith("https://twitch.tv")) {
|
&& !method.url.startsWith("https://twitch.tv")
|
||||||
|
&& !method.url.startsWith("https://patreon.com")) {
|
||||||
await expect(
|
await expect(
|
||||||
checkUrl(method.url),
|
checkUrl(method.url),
|
||||||
`Donation method url should be reachable for ${
|
`Donation method url should be reachable for ${
|
||||||
|
|||||||
Reference in New Issue
Block a user