diff --git a/test/e2e/vikidia.e2e.test.ts b/test/e2e/vikidia.e2e.test.ts index 21c4fc48a..44fd0be29 100644 --- a/test/e2e/vikidia.e2e.test.ts +++ b/test/e2e/vikidia.e2e.test.ts @@ -17,6 +17,7 @@ describe('vikidia', () => { outputDirectory: testId, redis: process.env.REDIS, articleList: 'Alaska', + customZimDescription: 'Alasks article', } test('right scrapping from vikidia.org', async () => { diff --git a/test/unit/util.test.ts b/test/unit/util.test.ts index 4ba64feeb..21c6281e6 100644 --- a/test/unit/util.test.ts +++ b/test/unit/util.test.ts @@ -14,7 +14,7 @@ import { extractArticleList, mkdirPromise, writeFilePromise, - validateMetadata, + validateMetadata, } from '../../src/util/index.js' import { testHtmlRewritingE2e } from '../util.js' import axios from 'axios' @@ -413,7 +413,7 @@ describe('Utils', () => { await expect(extractArticleList('http://valid-wrong-url.com/')).rejects.toThrow('Failed to read articleList from URL: http://valid-wrong-url.com/') }) }) - + describe('metaData', () => { test('validate empty string', () => { const metaData = {