Fix lint issues

And disable eslint when building in prod mode

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-11-30 10:24:11 +01:00
parent da42522073
commit 2d541f2e32
161 changed files with 3869 additions and 1236 deletions

View File

@@ -6,11 +6,16 @@ describe("Homepage", () => {
cy.visit("/", { onBeforeLoad });
cy.get("#mobilizon").find("footer").contains("The Mobilizon Contributors");
cy.contains("About").should("have.attr", "href").and("eq", "https://joinmobilizon.org");
cy.contains("About")
.should("have.attr", "href")
.and("eq", "https://joinmobilizon.org");
cy.contains("License")
.should("have.attr", "href")
.and("eq", "https://framagit.org/framasoft/mobilizon/blob/master/LICENSE");
.and(
"eq",
"https://framagit.org/framasoft/mobilizon/blob/master/LICENSE"
);
});
it("Tries to register from the hero section", () => {