generated from nhcarrigan/template
chore: add anonymous testimonial #12
+6
-4
@@ -114,9 +114,10 @@ describe("project data", () => {
|
||||
).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
|
||||
&& !project.url.startsWith("https://marketplace.visualstudio.com")) {
|
||||
&& !project.url.startsWith("https://marketplace.visualstudio.com")
|
||||
&& !project.url.startsWith("https://www.npmjs.com")) {
|
||||
expect(
|
||||
typeof project.url,
|
||||
`Project url should be a string for project: ${
|
||||
@@ -460,10 +461,11 @@ describe("donate data", () => {
|
||||
}`,
|
||||
).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")
|
||||
&& !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(
|
||||
checkUrl(method.url),
|
||||
`Donation method url should be reachable for ${
|
||||
|
||||
Reference in New Issue
Block a user