Skip to content

Commit

Permalink
test: Désactiver les tests GoPlay hors Belgique.
Browse files Browse the repository at this point in the history
  • Loading branch information
regseb committed Sep 5, 2023
1 parent 37e657d commit fad639c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/integration/scraper/goplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@

import assert from "node:assert/strict";
import { extract } from "../../../src/core/scrapers.js";
import { config } from "../config.js";

describe("Scraper: GoPlay", function () {
before(function () {
if (undefined !== config.country && "be" !== config.country) {
// eslint-disable-next-line no-invalid-this
this.skip();
}
});

it("should return undefined when it isn't a video", async function () {
const url = new URL("https://www.goplay.be/programmas");
const context = { depth: false, incognito: false };
Expand Down

0 comments on commit fad639c

Please sign in to comment.