Skip to content

Commit

Permalink
chore: simplify for codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
scissorsneedfoodtoo committed Oct 15, 2024
1 parent f9d5771 commit c3dd560
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 54 deletions.
11 changes: 2 additions & 9 deletions cypress/e2e/english/author/rss.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,8 @@ const expected = {
};

describe('Author page RSS feed (Hashnode sourced)', () => {
let resBody: string;
let feed: {
querySelector: (arg0: string) => {
(): any;
new (): any;
innerHTML: string;
};
querySelectorAll: (arg0: string) => any;
};
let resBody;
let feed;

before(() => {
cy.request(expected.feedPath).then(async res => {
Expand Down
11 changes: 2 additions & 9 deletions cypress/e2e/english/landing/rss.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,8 @@ const expected = {
};

describe('Landing page RSS feed (Hashnode sourced)', () => {
let resBody: string;
let feed: {
querySelector: (arg0: string) => {
(): any;
new (): any;
innerHTML: string;
};
querySelectorAll: (arg0: string) => any;
};
let resBody;
let feed;

before(() => {
cy.request(expected.feedPath).then(async res => {
Expand Down
11 changes: 2 additions & 9 deletions cypress/e2e/english/tag/rss.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ const expected = {
};

describe('Tag page RSS feed (Hashnode sourced)', () => {
let resBody: string;
let feed: {
querySelector: (arg0: string) => {
(): any;
new (): any;
innerHTML: string;
};
querySelectorAll: (arg0: string) => any;
};
let resBody;
let feed;

before(() => {
cy.request(expected.feedPath).then(async res => {
Expand Down
11 changes: 2 additions & 9 deletions cypress/e2e/espanol/author/rss.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,8 @@ const expected = {
};

describe('Author page RSS feed (Ghost sourced)', () => {
let resBody: string;
let feed: {
querySelector: (arg0: string) => {
(): any;
new (): any;
innerHTML: string;
};
querySelectorAll: (arg0: string) => any;
};
let resBody;
let feed;

before(() => {
// Update baseUrl to include current language
Expand Down
11 changes: 2 additions & 9 deletions cypress/e2e/espanol/landing/rss.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,8 @@ const expected = {
};

describe('Landing page RSS feed (Ghost sourced)', () => {
let resBody: string;
let feed: {
querySelector: (arg0: string) => {
(): any;
new (): any;
innerHTML: string;
};
querySelectorAll: (arg0: string) => any;
};
let resBody;
let feed;

before(() => {
// Update baseUrl to include current language
Expand Down
11 changes: 2 additions & 9 deletions cypress/e2e/espanol/tag/rss.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,8 @@ const expected = {
};

describe('Tag page RSS feed (Ghost sourced)', () => {
let resBody: string;
let feed: {
querySelector: (arg0: string) => {
(): any;
new (): any;
innerHTML: string;
};
querySelectorAll: (arg0: string) => any;
};
let resBody;
let feed;

before(() => {
// Update baseUrl to include current language
Expand Down

0 comments on commit c3dd560

Please sign in to comment.