Skip to content

Commit

Permalink
disable test/unit/saveArticles.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimKovalenkoSNF committed Jul 24, 2023
1 parent faec531 commit 9e1a7de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/saveArticles.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ describe('saveArticles', () => {
let dump2: Dump

Check warning on line 66 in test/unit/saveArticles.test.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

'dump2' is defined but never used
let articleHtml: string

Check warning on line 67 in test/unit/saveArticles.test.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

'articleHtml' is defined but never used

/*
beforeEach(async () => {
const classes = await setupScrapeClasses({ mwUrl: 'https://en.wikivoyage.org' }) // en wikipedia
dump = classes.dump
Expand All @@ -80,6 +81,7 @@ describe('saveArticles', () => {
;[{ html: articleHtml }] = await downloader.getArticle('Western_Greenland', dump, articleDetailXId)
dump2 = new Dump('', { keepEmptyParagraphs: true } as any, dump.mwMetaData)
})
*/

/*
test('Found no empty details elements when they should be stripped in mobile view', async () => {
Expand Down

0 comments on commit 9e1a7de

Please sign in to comment.