diff --git a/test/PuppeteerFixture.ts b/test/PuppeteerFixture.ts index 3710e1bfa2..fab6d5ffc5 100644 --- a/test/PuppeteerFixture.ts +++ b/test/PuppeteerFixture.ts @@ -1,27 +1,24 @@ import * as puppeteer from 'puppeteer-core'; -import { AppURL } from './PuppeteerGlobal'; +import { AppURL, AppSelector } from './PuppeteerGlobal'; export class PuppeteerFixture { - #browser: puppeteer.Browser; - #page: puppeteer.Page; + static #browser = puppeteer.connect({ browserWSEndpoint: process.env.browserWS }); + static #page = this.#browser.then(browser => browser.pages()).then(pages => pages.find(page => page.url() === AppURL)); - constructor() {} - - protected get Browser() { - return this.#browser; + protected async Reload(): Promise { + const page = await PuppeteerFixture.#page; + await page.reload({ timeout: 5000 }); + await page.waitForSelector(AppSelector, { timeout: 7500 }); } - protected get Page() { - return this.#page; + protected async OpenPage(url : string): Promise { + const page = await (await PuppeteerFixture.#browser).newPage(); + await page.goto(url); + return page; } - public async Connect(): Promise { - this.#browser = await puppeteer.connect({ browserWSEndpoint: process.env.browserWS }); - const pages = await this.#browser.pages(); - this.#page = pages.find(page => page.url() === AppURL); - await this.#page.reload(); - await this.#page.waitForSelector('body div#app main#hakunekoapp', { timeout: 7500 }); - return this as T; + protected EvaluateHandle: typeof puppeteer.Page.prototype.evaluateHandle = async (pageFunction, ...args) => { + return (await PuppeteerFixture.#page).evaluateHandle(pageFunction, ...args); } } \ No newline at end of file diff --git a/test/PuppeteerGlobal.ts b/test/PuppeteerGlobal.ts index 10e060ebec..57ab4ae489 100644 --- a/test/PuppeteerGlobal.ts +++ b/test/PuppeteerGlobal.ts @@ -5,6 +5,7 @@ import { exec, spawn } from 'node:child_process'; import * as puppeteer from 'puppeteer-core'; export const AppURL = 'http://localhost:5000/'; +export const AppSelector = 'body #app main#hakunekoapp'; const viteExe = path.normalize(path.resolve('node_modules', '.bin', process.platform === 'win32' ? 'vite.cmd' : 'vite')); const tempDir = path.normalize(path.resolve(os.tmpdir(), 'hakuneko-test', Date.now().toString(32))); const userDir = path.normalize(path.resolve(tempDir, 'user-data')); @@ -71,14 +72,16 @@ async function LaunchNW(): Promise { userDataDir: userDir }); browser.on('targetcreated', CloseSplashScreen); - console.log(new Date().toISOString(), '➔', 'Remote Debugger:', browser.wsEndpoint()); const start = Date.now(); while(Date.now() - start < 7500) { const pages = await browser.pages(); const page = pages.find(p => p.url() === AppURL); if(page) { + await page.reload({ timeout: 5000 }); + await page.waitForSelector(AppSelector, { timeout: 7500 }); console.log(new Date().toISOString(), '➔', 'Using Page:', [ page.url() ]); + console.log(new Date().toISOString(), '➔', 'Remote Debugger:', browser.wsEndpoint()); return browser; } else { console.log(new Date().toISOString(), '➔', 'Waiting for Page(s):', pages.map(p => p.url())); diff --git a/web/src/cloudflare_e2e.ts b/web/src/cloudflare_e2e.ts index b1e15a7b95..3953a4bef2 100644 --- a/web/src/cloudflare_e2e.ts +++ b/web/src/cloudflare_e2e.ts @@ -7,9 +7,11 @@ export class TestFixture extends PuppeteerFixture { private page: Page; public async SetupLocation(url: string): Promise { - await this.Connect(); - this.page = this.page || await super.Browser.newPage(); - await this.page.goto(url); + if(this.page) { + await this.page.goto(url); + } else { + this.page = await this.OpenPage(url); + } return this; } @@ -29,7 +31,7 @@ describe('CloudFlare Bypass', () => { it.skip('Should bypass JavaScript Challenge', async () => { - const fixture = await new TestFixture().SetupLocation('https://test.cloudscraper.ovh/challenge'); + const fixture = await new TestFixture().SetupLocation('https://cloudflare.bot-check.ovh/automatic'); try { const challenge = await fixture.GetRemoteProperty('form#challenge-form', 'action'); diff --git a/web/src/engine/PluginController_e2e.ts b/web/src/engine/PluginController_e2e.ts index 8403e0bae6..94d45fc9fc 100644 --- a/web/src/engine/PluginController_e2e.ts +++ b/web/src/engine/PluginController_e2e.ts @@ -7,13 +7,13 @@ import type { PluginController } from './PluginController'; export class RemoteFixture extends PuppeteerFixture { public async GetRemotePluginController(): Promise> { - return super.Page.evaluateHandle(async () => { + return this.EvaluateHandle(async () => { return window.HakuNeko.PluginController; }); } public async GetRemoteWebsitePlugins(): Promise>>>> { - return super.Page.evaluateHandle(async () => { + return this.EvaluateHandle(async () => { return window.HakuNeko.PluginController.WebsitePlugins; }); } @@ -23,7 +23,7 @@ describe('PluginController', () => { describe('Website Icons', { concurrent: true }, async () => { - const fixture = await new RemoteFixture().Connect(); + const fixture = new RemoteFixture(); const plugins = await fixture.GetRemoteWebsitePlugins(); const icons = await plugins.evaluate(testee => testee.map(website => { return { diff --git a/web/src/engine/SettingsGlobal_e2e.ts b/web/src/engine/SettingsGlobal_e2e.ts index ca4543d00d..5c66468b56 100644 --- a/web/src/engine/SettingsGlobal_e2e.ts +++ b/web/src/engine/SettingsGlobal_e2e.ts @@ -7,7 +7,7 @@ import { Key } from './SettingsGlobal'; export class TestFixture extends PuppeteerFixture { public async GetRemoteGlobalSettings(): Promise> { - return super.Page.evaluateHandle(async () => { + return this.EvaluateHandle(async () => { return window.HakuNeko.SettingsManager.OpenScope(); }); } @@ -17,7 +17,7 @@ describe('SettingsGlobal', () => { it('Should be initialized and accessible', async () => { - const fixture = await new TestFixture().Connect(); + const fixture = new TestFixture(); const remoteTestee = await fixture.GetRemoteGlobalSettings(); expect(await remoteTestee.evaluate(testee => testee.Get('language').ID)).toBe(Key.Language); diff --git a/web/src/engine/websites/AGCScanlation_e2e.ts b/web/src/engine/websites/AGCScanlation_e2e.ts index bb2f4e9d5c..a24ff2fd82 100644 --- a/web/src/engine/websites/AGCScanlation_e2e.ts +++ b/web/src/engine/websites/AGCScanlation_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AGS_e2e.ts b/web/src/engine/websites/AGS_e2e.ts index 123a81164d..0e55065805 100644 --- a/web/src/engine/websites/AGS_e2e.ts +++ b/web/src/engine/websites/AGS_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/APKomik_e2e.ts b/web/src/engine/websites/APKomik_e2e.ts index 8a1435a9eb..6afeb79865 100644 --- a/web/src/engine/websites/APKomik_e2e.ts +++ b/web/src/engine/websites/APKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AdonisFansub_e2e.ts b/web/src/engine/websites/AdonisFansub_e2e.ts index 92732c4dc0..12c5e09344 100644 --- a/web/src/engine/websites/AdonisFansub_e2e.ts +++ b/web/src/engine/websites/AdonisFansub_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const config = { +new TestFixture({ plugin: { id: 'adonisfansub', title: 'Adonis Fansub' @@ -20,7 +19,4 @@ const config = { size: 408_328, type: 'image/jpeg' } -}; - -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AduManga_e2e.ts b/web/src/engine/websites/AduManga_e2e.ts index 7c502420de..ff3be94fca 100644 --- a/web/src/engine/websites/AduManga_e2e.ts +++ b/web/src/engine/websites/AduManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Ainzscans_e2e.ts b/web/src/engine/websites/Ainzscans_e2e.ts index 4015404400..f63cd6b636 100644 --- a/web/src/engine/websites/Ainzscans_e2e.ts +++ b/web/src/engine/websites/Ainzscans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Akuma_e2e.ts b/web/src/engine/websites/Akuma_e2e.ts index 512d2fb22e..27d6bbeef0 100644 --- a/web/src/engine/websites/Akuma_e2e.ts +++ b/web/src/engine/websites/Akuma_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const fixture = new TestFixture({ +new TestFixture({ plugin: { id: 'akuma', title: 'Akuma.moe' @@ -20,5 +19,4 @@ const fixture = new TestFixture({ size: 223_038, type: 'image/jpeg' } -}); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AllPornComic_e2e.ts b/web/src/engine/websites/AllPornComic_e2e.ts index 34d51733c6..b122ee8382 100644 --- a/web/src/engine/websites/AllPornComic_e2e.ts +++ b/web/src/engine/websites/AllPornComic_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Alphapolis_e2e.ts b/web/src/engine/websites/Alphapolis_e2e.ts index 0d7079aa80..aeb5fc0480 100644 --- a/web/src/engine/websites/Alphapolis_e2e.ts +++ b/web/src/engine/websites/Alphapolis_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configOfficial: Config = { +// CASE: Official +new TestFixture({ plugin: { id: 'alphapolis', title: 'ALPHAPOLIS (アルファポリス)' @@ -20,12 +20,10 @@ const configOfficial: Config = { size: 375_221, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureOfficial = new TestFixture(configOfficial); -describe(fixtureOfficial.Name, async () => (await fixtureOfficial.Connect()).AssertWebsite()); - -const configManga: Config = { +// CASE: Unofficial +new TestFixture({ plugin: { id: 'alphapolis', title: 'ALPHAPOLIS (アルファポリス)' @@ -44,7 +42,4 @@ const configManga: Config = { size: 217_919, type: 'image/jpeg' } -}; - -const fixtureManga = new TestFixture(configManga); -describe(fixtureManga.Name, async () => (await fixtureManga.Connect()).AssertWebsite()); +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AmuyScan_e2e.ts b/web/src/engine/websites/AmuyScan_e2e.ts index 7124e7948d..062027c911 100644 --- a/web/src/engine/websites/AmuyScan_e2e.ts +++ b/web/src/engine/websites/AmuyScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AniGliScans_e2e.ts b/web/src/engine/websites/AniGliScans_e2e.ts index dc035f6dd6..7256a6b3cc 100644 --- a/web/src/engine/websites/AniGliScans_e2e.ts +++ b/web/src/engine/websites/AniGliScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Anikiga_e2e.ts b/web/src/engine/websites/Anikiga_e2e.ts index 9da6c41f4e..0ffafca2a5 100644 --- a/web/src/engine/websites/Anikiga_e2e.ts +++ b/web/src/engine/websites/Anikiga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AnimeSama_e2e.ts b/web/src/engine/websites/AnimeSama_e2e.ts index befe5cfdf4..a6589d6e7b 100644 --- a/web/src/engine/websites/AnimeSama_e2e.ts +++ b/web/src/engine/websites/AnimeSama_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Anisamanga_e2e.ts b/web/src/engine/websites/Anisamanga_e2e.ts index 1154e9b20d..4760743189 100755 --- a/web/src/engine/websites/Anisamanga_e2e.ts +++ b/web/src/engine/websites/Anisamanga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AnzManga_e2e.ts b/web/src/engine/websites/AnzManga_e2e.ts index 964f4ec85e..2f8c0719b9 100644 --- a/web/src/engine/websites/AnzManga_e2e.ts +++ b/web/src/engine/websites/AnzManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ApollComics_e2e.ts b/web/src/engine/websites/ApollComics_e2e.ts index 16dd369192..9873c4d18a 100755 --- a/web/src/engine/websites/ApollComics_e2e.ts +++ b/web/src/engine/websites/ApollComics_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AquaManga_e2e.ts b/web/src/engine/websites/AquaManga_e2e.ts index afcc80c9ef..9a15d72417 100644 --- a/web/src/engine/websites/AquaManga_e2e.ts +++ b/web/src/engine/websites/AquaManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArabToons_e2e.ts b/web/src/engine/websites/ArabToons_e2e.ts index 549801122e..af96d47fc8 100644 --- a/web/src/engine/websites/ArabToons_e2e.ts +++ b/web/src/engine/websites/ArabToons_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArabsHentai_e2e.ts b/web/src/engine/websites/ArabsHentai_e2e.ts index b3c7b530b7..6ca335d852 100644 --- a/web/src/engine/websites/ArabsHentai_e2e.ts +++ b/web/src/engine/websites/ArabsHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArcRelight_e2e.ts b/web/src/engine/websites/ArcRelight_e2e.ts index e52cd04c6b..0facb143be 100644 --- a/web/src/engine/websites/ArcRelight_e2e.ts +++ b/web/src/engine/websites/ArcRelight_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArcaneScans_e2e.ts b/web/src/engine/websites/ArcaneScans_e2e.ts index c55de8b7ba..6d5d7d7fa6 100644 --- a/web/src/engine/websites/ArcaneScans_e2e.ts +++ b/web/src/engine/websites/ArcaneScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArcuraFansub_e2e.ts b/web/src/engine/websites/ArcuraFansub_e2e.ts index 69b930aab0..9e4abd3c1b 100644 --- a/web/src/engine/websites/ArcuraFansub_e2e.ts +++ b/web/src/engine/websites/ArcuraFansub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AresManga_e2e.ts b/web/src/engine/websites/AresManga_e2e.ts index f7c670f2e5..3d5b831c58 100644 --- a/web/src/engine/websites/AresManga_e2e.ts +++ b/web/src/engine/websites/AresManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArgosScan_e2e.ts b/web/src/engine/websites/ArgosScan_e2e.ts index f5f714a085..c32f068ea7 100644 --- a/web/src/engine/websites/ArgosScan_e2e.ts +++ b/web/src/engine/websites/ArgosScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -24,5 +23,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArthurScan_e2e.ts b/web/src/engine/websites/ArthurScan_e2e.ts index 21681199e9..bb5056f576 100755 --- a/web/src/engine/websites/ArthurScan_e2e.ts +++ b/web/src/engine/websites/ArthurScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ArvenScans_e2e.ts b/web/src/engine/websites/ArvenScans_e2e.ts index ecf60e79ae..f385f6e7b8 100644 --- a/web/src/engine/websites/ArvenScans_e2e.ts +++ b/web/src/engine/websites/ArvenScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Ascalon_e2e.ts b/web/src/engine/websites/Ascalon_e2e.ts index 1dfb7cfa33..32f2713b6e 100644 --- a/web/src/engine/websites/Ascalon_e2e.ts +++ b/web/src/engine/websites/Ascalon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AsmHentai_e2e.ts b/web/src/engine/websites/AsmHentai_e2e.ts index ab46f75c25..2bb42a2fac 100644 --- a/web/src/engine/websites/AsmHentai_e2e.ts +++ b/web/src/engine/websites/AsmHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AstraScans_e2e.ts b/web/src/engine/websites/AstraScans_e2e.ts index 51ae54d694..876d60e0dc 100644 --- a/web/src/engine/websites/AstraScans_e2e.ts +++ b/web/src/engine/websites/AstraScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AstralManga_e2e.ts b/web/src/engine/websites/AstralManga_e2e.ts index 3371c1b076..33b522e21e 100644 --- a/web/src/engine/websites/AstralManga_e2e.ts +++ b/web/src/engine/websites/AstralManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AsuraScansTR_e2e.ts b/web/src/engine/websites/AsuraScansTR_e2e.ts index a13089b075..49c1ac60b4 100644 --- a/web/src/engine/websites/AsuraScansTR_e2e.ts +++ b/web/src/engine/websites/AsuraScansTR_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AsuraScans_e2e.ts b/web/src/engine/websites/AsuraScans_e2e.ts index 3abdf3cf4c..ef042fe8a1 100644 --- a/web/src/engine/websites/AsuraScans_e2e.ts +++ b/web/src/engine/websites/AsuraScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Atikrost_e2e.ts b/web/src/engine/websites/Atikrost_e2e.ts index 4782f924f8..a6f978fd18 100755 --- a/web/src/engine/websites/Atikrost_e2e.ts +++ b/web/src/engine/websites/Atikrost_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AyaToon_e2e.ts b/web/src/engine/websites/AyaToon_e2e.ts index 6c5c53c575..dc651f02b0 100755 --- a/web/src/engine/websites/AyaToon_e2e.ts +++ b/web/src/engine/websites/AyaToon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/AzoraWorld_e2e.ts b/web/src/engine/websites/AzoraWorld_e2e.ts index 5159c3a4b0..ce1c8f1bba 100755 --- a/web/src/engine/websites/AzoraWorld_e2e.ts +++ b/web/src/engine/websites/AzoraWorld_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/BacaKomik_e2e.ts b/web/src/engine/websites/BacaKomik_e2e.ts index fa3ff5e9d4..238df5741b 100644 --- a/web/src/engine/websites/BacaKomik_e2e.ts +++ b/web/src/engine/websites/BacaKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/BacaManga_e2e.ts b/web/src/engine/websites/BacaManga_e2e.ts index 79bb88ef38..1bb64bae0d 100644 --- a/web/src/engine/websites/BacaManga_e2e.ts +++ b/web/src/engine/websites/BacaManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Baozimh_e2e.ts b/web/src/engine/websites/Baozimh_e2e.ts index 4c54208424..18603ebd29 100644 --- a/web/src/engine/websites/Baozimh_e2e.ts +++ b/web/src/engine/websites/Baozimh_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/BarManga_e2e.ts b/web/src/engine/websites/BarManga_e2e.ts index f7ff686be1..8795ae663c 100644 --- a/web/src/engine/websites/BarManga_e2e.ts +++ b/web/src/engine/websites/BarManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Batoto_e2e.ts b/web/src/engine/websites/Batoto_e2e.ts index 42e8d74d07..86ea615ef0 100644 --- a/web/src/engine/websites/Batoto_e2e.ts +++ b/web/src/engine/websites/Batoto_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const fixtureWithoutLanguage = new TestFixture({ +// CASE: Invariant Locale +new TestFixture({ plugin: { id: 'batoto', title: 'Batoto (by AnyACG)' @@ -20,10 +20,10 @@ const fixtureWithoutLanguage = new TestFixture({ size: 126_808, type: 'image/webp' } -}); -describe(fixtureWithoutLanguage.Name, async () => (await fixtureWithoutLanguage.Connect()).AssertWebsite()); +}).AssertWebsite(); -const fixtureWithLanguage = new TestFixture({ +// CASE: Hungarian Locale +new TestFixture({ plugin: { id: 'batoto', title: 'Batoto (by AnyACG)' @@ -42,5 +42,4 @@ const fixtureWithLanguage = new TestFixture({ size: 62_432, type: 'image/webp' } -}); -describe(fixtureWithLanguage.Name, async () => (await fixtureWithLanguage.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/BlogTruyenMoi_e2e.ts b/web/src/engine/websites/BlogTruyenMoi_e2e.ts index 4d934845b8..952ff1e269 100644 --- a/web/src/engine/websites/BlogTruyenMoi_e2e.ts +++ b/web/src/engine/websites/BlogTruyenMoi_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configRawFetch: Config = { +// CASE: Fetch XHR +new TestFixture({ plugin: { id: 'blogtruyenmoi', title: 'BlogTruyenMoi', @@ -23,12 +23,10 @@ const configRawFetch: Config = { size: 331_954, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureRawFetch = new TestFixture(configRawFetch); -describe(fixtureRawFetch.Name, async () => (await fixtureRawFetch.Connect()).AssertWebsite()); - -const configWithScript: Config = { +// CASE: Fetch JS +new TestFixture({ plugin: { id: 'blogtruyenmoi', title: 'BlogTruyenMoi', @@ -50,7 +48,4 @@ const configWithScript: Config = { size: 110_406, type: 'image/jpeg' } -}; - -const fixtureWithScript = new TestFixture(configWithScript); -describe(fixtureWithScript.Name, async () => (await fixtureWithScript.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Bokugents_e2e.ts b/web/src/engine/websites/Bokugents_e2e.ts index 317ee70205..1035cf070b 100644 --- a/web/src/engine/websites/Bokugents_e2e.ts +++ b/web/src/engine/websites/Bokugents_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Bomtoon_e2e.ts b/web/src/engine/websites/Bomtoon_e2e.ts index a96146c9dd..63b813b6e5 100644 --- a/web/src/engine/websites/Bomtoon_e2e.ts +++ b/web/src/engine/websites/Bomtoon_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const config = { +// CASE: Plain Images +new TestFixture({ plugin: { id: 'bomtoon', title: 'Bomtoon' @@ -20,12 +20,10 @@ const config = { size: 66_636, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); - -const configScrambled = { +// CASE: Scrambled Images +new TestFixture({ plugin: { id: 'bomtoon', title: 'Bomtoon' @@ -44,7 +42,4 @@ const configScrambled = { size: 1_736_022, type: 'image/png' } -}; - -const fixtureScrambled = new TestFixture(configScrambled); -describe(fixtureScrambled.Name, async () => (await fixtureScrambled.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Bontoon_e2e.ts b/web/src/engine/websites/Bontoon_e2e.ts index b9eae34f18..687bf1736c 100644 --- a/web/src/engine/websites/Bontoon_e2e.ts +++ b/web/src/engine/websites/Bontoon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/BoomToon_e2e.ts b/web/src/engine/websites/BoomToon_e2e.ts index 2544f4815f..e2ee88ec1c 100644 --- a/web/src/engine/websites/BoomToon_e2e.ts +++ b/web/src/engine/websites/BoomToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CartelDeManhwas_e2e.ts b/web/src/engine/websites/CartelDeManhwas_e2e.ts index d1a53ed791..0e43e7d652 100644 --- a/web/src/engine/websites/CartelDeManhwas_e2e.ts +++ b/web/src/engine/websites/CartelDeManhwas_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CartoonMad_e2e.ts b/web/src/engine/websites/CartoonMad_e2e.ts index 67c9be493b..e60e307cb7 100644 --- a/web/src/engine/websites/CartoonMad_e2e.ts +++ b/web/src/engine/websites/CartoonMad_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CatTranslator_e2e.ts b/web/src/engine/websites/CatTranslator_e2e.ts index b742d85036..9d8df0fec7 100755 --- a/web/src/engine/websites/CatTranslator_e2e.ts +++ b/web/src/engine/websites/CatTranslator_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -25,5 +24,4 @@ const config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CeriseScans_e2e.ts b/web/src/engine/websites/CeriseScans_e2e.ts index 074efc7876..c432a9dfb9 100755 --- a/web/src/engine/websites/CeriseScans_e2e.ts +++ b/web/src/engine/websites/CeriseScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Chochox_e2e.ts b/web/src/engine/websites/Chochox_e2e.ts index cf713ee2e9..0ebb05cbfa 100644 --- a/web/src/engine/websites/Chochox_e2e.ts +++ b/web/src/engine/websites/Chochox_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CiaoPlus_e2e.ts b/web/src/engine/websites/CiaoPlus_e2e.ts index 7f304fa400..c915be3beb 100644 --- a/web/src/engine/websites/CiaoPlus_e2e.ts +++ b/web/src/engine/websites/CiaoPlus_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Cocorip_e2e.ts b/web/src/engine/websites/Cocorip_e2e.ts index e8a9ac932e..db5fad687f 100644 --- a/web/src/engine/websites/Cocorip_e2e.ts +++ b/web/src/engine/websites/Cocorip_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CoffeeManga_e2e.ts b/web/src/engine/websites/CoffeeManga_e2e.ts index 918ec9187c..8261f297b0 100644 --- a/web/src/engine/websites/CoffeeManga_e2e.ts +++ b/web/src/engine/websites/CoffeeManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ColaManga_e2e.ts b/web/src/engine/websites/ColaManga_e2e.ts index 5f52855490..8e2f5504ce 100644 --- a/web/src/engine/websites/ColaManga_e2e.ts +++ b/web/src/engine/websites/ColaManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ColoredManga_e2e.ts b/web/src/engine/websites/ColoredManga_e2e.ts index 182b65b2b0..97f6f2113e 100644 --- a/web/src/engine/websites/ColoredManga_e2e.ts +++ b/web/src/engine/websites/ColoredManga_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configChapters = { +// CASE: Provided in Chapters +new TestFixture({ plugin: { id: 'coloredmanga', title: 'Colored Manga' @@ -20,12 +20,10 @@ const configChapters = { size: 288_810, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureChapters = new TestFixture(configChapters); -describe(fixtureChapters.Name, async () => (await fixtureChapters.Connect()).AssertWebsite()); - -const configVolumes = { +// CASE: Provided in Volumes +new TestFixture({ plugin: { id: 'coloredmanga', title: 'Colored Manga' @@ -44,7 +42,4 @@ const configVolumes = { size: 1_481_859, type: 'image/jpeg' } -}; - -const fixtureVolumes = new TestFixture(configVolumes); -describe(fixtureVolumes.Name, async () => (await fixtureVolumes.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Comic21_e2e.ts b/web/src/engine/websites/Comic21_e2e.ts index 14d2cdd9cd..9bc465356f 100644 --- a/web/src/engine/websites/Comic21_e2e.ts +++ b/web/src/engine/websites/Comic21_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -24,5 +23,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicAction_e2e.ts b/web/src/engine/websites/ComicAction_e2e.ts index 460c713692..f20a2f2911 100644 --- a/web/src/engine/websites/ComicAction_e2e.ts +++ b/web/src/engine/websites/ComicAction_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicBorder_e2e.ts b/web/src/engine/websites/ComicBorder_e2e.ts index 524ae93460..8e249b668e 100644 --- a/web/src/engine/websites/ComicBorder_e2e.ts +++ b/web/src/engine/websites/ComicBorder_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicDays_e2e.ts b/web/src/engine/websites/ComicDays_e2e.ts index df0aa193ed..f4e8f42c1a 100644 --- a/web/src/engine/websites/ComicDays_e2e.ts +++ b/web/src/engine/websites/ComicDays_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicEarthStar_e2e.ts b/web/src/engine/websites/ComicEarthStar_e2e.ts index 4c33a2bbde..390e551878 100644 --- a/web/src/engine/websites/ComicEarthStar_e2e.ts +++ b/web/src/engine/websites/ComicEarthStar_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicExtra_e2e.ts b/web/src/engine/websites/ComicExtra_e2e.ts index 78937a8d22..c0d1aa613b 100644 --- a/web/src/engine/websites/ComicExtra_e2e.ts +++ b/web/src/engine/websites/ComicExtra_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicFans_e2e.ts b/web/src/engine/websites/ComicFans_e2e.ts index a420be45e1..b83323a273 100644 --- a/web/src/engine/websites/ComicFans_e2e.ts +++ b/web/src/engine/websites/ComicFans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicFuz_e2e.ts b/web/src/engine/websites/ComicFuz_e2e.ts index 2ec83b5813..fb3c7efc15 100644 --- a/web/src/engine/websites/ComicFuz_e2e.ts +++ b/web/src/engine/websites/ComicFuz_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicGardo_e2e.ts b/web/src/engine/websites/ComicGardo_e2e.ts index 5d54646169..078996cfd1 100644 --- a/web/src/engine/websites/ComicGardo_e2e.ts +++ b/web/src/engine/websites/ComicGardo_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicGrowl_e2e.ts b/web/src/engine/websites/ComicGrowl_e2e.ts index 7d8b0d235c..90883bab7c 100644 --- a/web/src/engine/websites/ComicGrowl_e2e.ts +++ b/web/src/engine/websites/ComicGrowl_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicK_e2e.ts b/web/src/engine/websites/ComicK_e2e.ts index f8698b830b..b710741fbe 100644 --- a/web/src/engine/websites/ComicK_e2e.ts +++ b/web/src/engine/websites/ComicK_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicOnlineFree_e2e.ts b/web/src/engine/websites/ComicOnlineFree_e2e.ts index f773e46ab9..21e5e406fb 100644 --- a/web/src/engine/websites/ComicOnlineFree_e2e.ts +++ b/web/src/engine/websites/ComicOnlineFree_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -21,5 +20,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicRyu_e2e.ts b/web/src/engine/websites/ComicRyu_e2e.ts index b92f6bdb19..322e5a4ddd 100644 --- a/web/src/engine/websites/ComicRyu_e2e.ts +++ b/web/src/engine/websites/ComicRyu_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicTop_e2e.ts b/web/src/engine/websites/ComicTop_e2e.ts index 52aba6880c..695e737ed9 100644 --- a/web/src/engine/websites/ComicTop_e2e.ts +++ b/web/src/engine/websites/ComicTop_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicTrail_e2e.ts b/web/src/engine/websites/ComicTrail_e2e.ts index 73dd1ba7d0..656d3225b0 100644 --- a/web/src/engine/websites/ComicTrail_e2e.ts +++ b/web/src/engine/websites/ComicTrail_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicVn_e2e.ts b/web/src/engine/websites/ComicVn_e2e.ts index e52981aed9..03ab1b3428 100644 --- a/web/src/engine/websites/ComicVn_e2e.ts +++ b/web/src/engine/websites/ComicVn_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicZenon_e2e.ts b/web/src/engine/websites/ComicZenon_e2e.ts index 580e6e1f2b..e78fdf814c 100644 --- a/web/src/engine/websites/ComicZenon_e2e.ts +++ b/web/src/engine/websites/ComicZenon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicZerosum_e2e.ts b/web/src/engine/websites/ComicZerosum_e2e.ts index 60aac8c3bc..b90d26757c 100644 --- a/web/src/engine/websites/ComicZerosum_e2e.ts +++ b/web/src/engine/websites/ComicZerosum_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Comico_e2e.ts b/web/src/engine/websites/Comico_e2e.ts index d6471bd515..4158348845 100644 --- a/web/src/engine/websites/Comico_e2e.ts +++ b/web/src/engine/websites/Comico_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComicsValley_e2e.ts b/web/src/engine/websites/ComicsValley_e2e.ts index 55e8429118..0a6d473647 100755 --- a/web/src/engine/websites/ComicsValley_e2e.ts +++ b/web/src/engine/websites/ComicsValley_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ComikeyArchive_e2e.ts b/web/src/engine/websites/ComikeyArchive_e2e.ts index 3f4398d2bc..406291fbd7 100644 --- a/web/src/engine/websites/ComikeyArchive_e2e.ts +++ b/web/src/engine/websites/ComikeyArchive_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Comikey_e2e.ts b/web/src/engine/websites/Comikey_e2e.ts index 7cdbc0ea9b..35e39fc77c 100644 --- a/web/src/engine/websites/Comikey_e2e.ts +++ b/web/src/engine/websites/Comikey_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ConstellarScans_e2e.ts b/web/src/engine/websites/ConstellarScans_e2e.ts index e48442c287..7892386611 100644 --- a/web/src/engine/websites/ConstellarScans_e2e.ts +++ b/web/src/engine/websites/ConstellarScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CookMana_e2e.ts b/web/src/engine/websites/CookMana_e2e.ts index c6fc86023a..54194914c5 100644 --- a/web/src/engine/websites/CookMana_e2e.ts +++ b/web/src/engine/websites/CookMana_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CoolMicFr_e2e.ts b/web/src/engine/websites/CoolMicFr_e2e.ts index d3f4ed446e..57fe3bd949 100644 --- a/web/src/engine/websites/CoolMicFr_e2e.ts +++ b/web/src/engine/websites/CoolMicFr_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CoolMic_e2e.ts b/web/src/engine/websites/CoolMic_e2e.ts index f64ce4c8f0..0f78c06061 100644 --- a/web/src/engine/websites/CoolMic_e2e.ts +++ b/web/src/engine/websites/CoolMic_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CopyManga_e2e.ts b/web/src/engine/websites/CopyManga_e2e.ts index 2d8d239314..b410e7b661 100644 --- a/web/src/engine/websites/CopyManga_e2e.ts +++ b/web/src/engine/websites/CopyManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const configGlobal: Config = { plugin: { @@ -22,11 +21,11 @@ const configGlobal: Config = { } }; -const fixtureGlobal = new TestFixture(configGlobal); -describe(fixtureGlobal.Name, async () => (await fixtureGlobal.Connect()).AssertWebsite()); +// CASE: No Region (Global) +new TestFixture(configGlobal).AssertWebsite(); const configChinaMainland = { ...configGlobal }; configChinaMainland.container.url = 'https://www.mangacopy.com/comic/zhanvmeizhabao'; -const fixtureChinaMainland = new TestFixture(configChinaMainland); -describe(fixtureChinaMainland.Name, async () => (await fixtureChinaMainland.Connect()).AssertWebsite()); \ No newline at end of file +// CASE: Region China +new TestFixture(configChinaMainland).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CopyPasteScan_e2e.ts b/web/src/engine/websites/CopyPasteScan_e2e.ts index 5ca2c3bd94..4cd161ebc7 100755 --- a/web/src/engine/websites/CopyPasteScan_e2e.ts +++ b/web/src/engine/websites/CopyPasteScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CoroCoro_e2e.ts b/web/src/engine/websites/CoroCoro_e2e.ts index eeb9a54d96..47dbde38dd 100644 --- a/web/src/engine/websites/CoroCoro_e2e.ts +++ b/web/src/engine/websites/CoroCoro_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CosmicScansID_e2e.ts b/web/src/engine/websites/CosmicScansID_e2e.ts index fb3a274130..9e1a707729 100644 --- a/web/src/engine/websites/CosmicScansID_e2e.ts +++ b/web/src/engine/websites/CosmicScansID_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CovenScan_e2e.ts b/web/src/engine/websites/CovenScan_e2e.ts index 90310d2bfa..383563be73 100644 --- a/web/src/engine/websites/CovenScan_e2e.ts +++ b/web/src/engine/websites/CovenScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CrunchyScan_e2e.ts b/web/src/engine/websites/CrunchyScan_e2e.ts index e8f66933b4..5cbc7cd347 100755 --- a/web/src/engine/websites/CrunchyScan_e2e.ts +++ b/web/src/engine/websites/CrunchyScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -24,5 +23,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CulturedWorks_e2e.ts b/web/src/engine/websites/CulturedWorks_e2e.ts index 6517b9c3e5..31d8ef3616 100644 --- a/web/src/engine/websites/CulturedWorks_e2e.ts +++ b/web/src/engine/websites/CulturedWorks_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CuuTruyen_e2e.ts b/web/src/engine/websites/CuuTruyen_e2e.ts index 2511834b64..b0f7fada51 100644 --- a/web/src/engine/websites/CuuTruyen_e2e.ts +++ b/web/src/engine/websites/CuuTruyen_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CyComi_e2e.ts b/web/src/engine/websites/CyComi_e2e.ts index 02da80c3aa..51f3029b31 100644 --- a/web/src/engine/websites/CyComi_e2e.ts +++ b/web/src/engine/websites/CyComi_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const fixtureChapter = new TestFixture({ +// CASE: Provided in Volumes +new TestFixture({ plugin: { id: 'cycomi', title: 'CyComi' @@ -20,10 +20,10 @@ const fixtureChapter = new TestFixture({ size: 219_613, type: 'image/jpeg' } -}); -describe(fixtureChapter.Name, async () => (await fixtureChapter.Connect()).AssertWebsite()); +}).AssertWebsite(); -const fixtureVolume = new TestFixture({ +// CASE: Provided in Chapters +new TestFixture({ plugin: { id: 'cycomi', title: 'CyComi' @@ -42,5 +42,4 @@ const fixtureVolume = new TestFixture({ size: 9_928, type: 'image/jpeg' } -}); -describe(fixtureVolume.Name, async () => (await fixtureVolume.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/CypherScans_e2e.ts b/web/src/engine/websites/CypherScans_e2e.ts index 181cb5e774..158affe8cd 100644 --- a/web/src/engine/websites/CypherScans_e2e.ts +++ b/web/src/engine/websites/CypherScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DankeFursLesen_e2e.ts b/web/src/engine/websites/DankeFursLesen_e2e.ts index d57ecb53eb..34aa6764bd 100644 --- a/web/src/engine/websites/DankeFursLesen_e2e.ts +++ b/web/src/engine/websites/DankeFursLesen_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DayComics_e2e.ts b/web/src/engine/websites/DayComics_e2e.ts index 006bcfbafd..2f2972135c 100644 --- a/web/src/engine/websites/DayComics_e2e.ts +++ b/web/src/engine/websites/DayComics_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Daysneo_e2e.ts b/web/src/engine/websites/Daysneo_e2e.ts index ce47c88d69..cb2165caef 100644 --- a/web/src/engine/websites/Daysneo_e2e.ts +++ b/web/src/engine/websites/Daysneo_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DeathTollScans_e2e.ts b/web/src/engine/websites/DeathTollScans_e2e.ts index 4eea72dd3c..2f4a501615 100644 --- a/web/src/engine/websites/DeathTollScans_e2e.ts +++ b/web/src/engine/websites/DeathTollScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DecadenceScans_e2e.ts b/web/src/engine/websites/DecadenceScans_e2e.ts index dd5f1bd121..b48c0bfcc6 100755 --- a/web/src/engine/websites/DecadenceScans_e2e.ts +++ b/web/src/engine/websites/DecadenceScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DelitoonDE_e2e.ts b/web/src/engine/websites/DelitoonDE_e2e.ts index 960798eb39..c461500c0f 100644 --- a/web/src/engine/websites/DelitoonDE_e2e.ts +++ b/web/src/engine/websites/DelitoonDE_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DelitoonX_e2e.ts b/web/src/engine/websites/DelitoonX_e2e.ts index fa42c91f90..97b319d888 100644 --- a/web/src/engine/websites/DelitoonX_e2e.ts +++ b/web/src/engine/websites/DelitoonX_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Delitoon_e2e.ts b/web/src/engine/websites/Delitoon_e2e.ts index 92e4aa58f1..0b8a11cb3c 100644 --- a/web/src/engine/websites/Delitoon_e2e.ts +++ b/web/src/engine/websites/Delitoon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DemonSect_e2e.ts b/web/src/engine/websites/DemonSect_e2e.ts index 6b601084ac..f0b5545219 100644 --- a/web/src/engine/websites/DemonSect_e2e.ts +++ b/web/src/engine/websites/DemonSect_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DemoneCeleste_e2e.ts b/web/src/engine/websites/DemoneCeleste_e2e.ts index fa3ee10b1f..2c09ed97b8 100644 --- a/web/src/engine/websites/DemoneCeleste_e2e.ts +++ b/web/src/engine/websites/DemoneCeleste_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DennoMavo_e2e.ts b/web/src/engine/websites/DennoMavo_e2e.ts index ad799c9635..b6f7543454 100644 --- a/web/src/engine/websites/DennoMavo_e2e.ts +++ b/web/src/engine/websites/DennoMavo_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Desu_e2e.ts b/web/src/engine/websites/Desu_e2e.ts index 17f1cb7a4e..873d9dd8d3 100644 --- a/web/src/engine/websites/Desu_e2e.ts +++ b/web/src/engine/websites/Desu_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DiamondFansub_e2e.ts b/web/src/engine/websites/DiamondFansub_e2e.ts index 871c751941..3444bf0a20 100644 --- a/web/src/engine/websites/DiamondFansub_e2e.ts +++ b/web/src/engine/websites/DiamondFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DianxiaTrads_e2e.ts b/web/src/engine/websites/DianxiaTrads_e2e.ts index e42561c08b..f73f61e6b5 100644 --- a/web/src/engine/websites/DianxiaTrads_e2e.ts +++ b/web/src/engine/websites/DianxiaTrads_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Digimon_e2e.ts b/web/src/engine/websites/Digimon_e2e.ts index d0c1bf9c47..9206411dac 100644 --- a/web/src/engine/websites/Digimon_e2e.ts +++ b/web/src/engine/websites/Digimon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DigitalTeam_e2e.ts b/web/src/engine/websites/DigitalTeam_e2e.ts index cabeef2d16..3921337242 100644 --- a/web/src/engine/websites/DigitalTeam_e2e.ts +++ b/web/src/engine/websites/DigitalTeam_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DingManhua_e2e.ts b/web/src/engine/websites/DingManhua_e2e.ts index 7c4de9deff..b46c888ddd 100644 --- a/web/src/engine/websites/DingManhua_e2e.ts +++ b/web/src/engine/websites/DingManhua_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DisasterScans_e2e.ts b/web/src/engine/websites/DisasterScans_e2e.ts index e95ad07b34..7ed1605965 100755 --- a/web/src/engine/websites/DisasterScans_e2e.ts +++ b/web/src/engine/websites/DisasterScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DiskusScan_e2e.ts b/web/src/engine/websites/DiskusScan_e2e.ts index d8e0e21965..d9d5c86e1a 100755 --- a/web/src/engine/websites/DiskusScan_e2e.ts +++ b/web/src/engine/websites/DiskusScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Dm5_e2e.ts b/web/src/engine/websites/Dm5_e2e.ts index a720a3e5bf..81bc022aef 100644 --- a/web/src/engine/websites/Dm5_e2e.ts +++ b/web/src/engine/websites/Dm5_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Dmzj_e2e.ts b/web/src/engine/websites/Dmzj_e2e.ts index 6fe689df74..4e67c4164c 100644 --- a/web/src/engine/websites/Dmzj_e2e.ts +++ b/web/src/engine/websites/Dmzj_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -26,5 +25,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Dokuha_e2e.ts b/web/src/engine/websites/Dokuha_e2e.ts index 91cf30e662..f7c697c2f5 100644 --- a/web/src/engine/websites/Dokuha_e2e.ts +++ b/web/src/engine/websites/Dokuha_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DomalFansub_e2e.ts b/web/src/engine/websites/DomalFansub_e2e.ts index 3f96f265d6..bc6f45e4fc 100644 --- a/web/src/engine/websites/DomalFansub_e2e.ts +++ b/web/src/engine/websites/DomalFansub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Doujin69_e2e.ts b/web/src/engine/websites/Doujin69_e2e.ts index b854ed76b0..5d5700bd48 100644 --- a/web/src/engine/websites/Doujin69_e2e.ts +++ b/web/src/engine/websites/Doujin69_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DoujinDesu_e2e.ts b/web/src/engine/websites/DoujinDesu_e2e.ts index e1d7c7202c..df37ea289f 100644 --- a/web/src/engine/websites/DoujinDesu_e2e.ts +++ b/web/src/engine/websites/DoujinDesu_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DoujinHentai_e2e.ts b/web/src/engine/websites/DoujinHentai_e2e.ts index 4e982b9647..a07088acfb 100755 --- a/web/src/engine/websites/DoujinHentai_e2e.ts +++ b/web/src/engine/websites/DoujinHentai_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DoujinZa_e2e.ts b/web/src/engine/websites/DoujinZa_e2e.ts index 6fb4b73d72..a71cdcc7f3 100644 --- a/web/src/engine/websites/DoujinZa_e2e.ts +++ b/web/src/engine/websites/DoujinZa_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Doujinku_e2e.ts b/web/src/engine/websites/Doujinku_e2e.ts index 9c18b6d177..dc4b227a50 100644 --- a/web/src/engine/websites/Doujinku_e2e.ts +++ b/web/src/engine/websites/Doujinku_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Doujins_e2e.ts b/web/src/engine/websites/Doujins_e2e.ts index a7bba5262c..3bc2956df6 100644 --- a/web/src/engine/websites/Doujins_e2e.ts +++ b/web/src/engine/websites/Doujins_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DragonTea_e2e.ts b/web/src/engine/websites/DragonTea_e2e.ts index 5ed235dbf3..c5dfb39170 100755 --- a/web/src/engine/websites/DragonTea_e2e.ts +++ b/web/src/engine/websites/DragonTea_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DragonTranslation_e2e.ts b/web/src/engine/websites/DragonTranslation_e2e.ts index 8cad3244c5..c5a6266d90 100644 --- a/web/src/engine/websites/DragonTranslation_e2e.ts +++ b/web/src/engine/websites/DragonTranslation_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DrakeScans_e2e.ts b/web/src/engine/websites/DrakeScans_e2e.ts index 1ab0c54324..d5b26889fb 100644 --- a/web/src/engine/websites/DrakeScans_e2e.ts +++ b/web/src/engine/websites/DrakeScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DuaLeoTruyen_e2e.ts b/web/src/engine/websites/DuaLeoTruyen_e2e.ts index 66ed21df10..a0e4b28130 100644 --- a/web/src/engine/websites/DuaLeoTruyen_e2e.ts +++ b/web/src/engine/websites/DuaLeoTruyen_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/DynastyScans_e2e.ts b/web/src/engine/websites/DynastyScans_e2e.ts index 1bc835b5a4..9953b0a10f 100644 --- a/web/src/engine/websites/DynastyScans_e2e.ts +++ b/web/src/engine/websites/DynastyScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/EarlyManga_e2e.ts b/web/src/engine/websites/EarlyManga_e2e.ts index 6d45b6f3f7..982b6433d2 100644 --- a/web/src/engine/websites/EarlyManga_e2e.ts +++ b/web/src/engine/websites/EarlyManga_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configOndisk: Config = { +// CASE: On Disk +new TestFixture({ plugin: { id: 'earlymanga', title: 'EarlyManga' @@ -26,12 +26,10 @@ const configOndisk: Config = { size: 141_396, type: 'image/webp' } -}; +}).AssertWebsite(); -const fixtureOnDisk = new TestFixture(configOndisk); -describe(fixtureOnDisk.Name, async () => (await fixtureOnDisk.Connect()).AssertWebsite()); - -const configNOTOndisk: Config = { +// CASE: Not on Disk +new TestFixture({ plugin: { id: 'earlymanga', title: 'EarlyManga' @@ -56,7 +54,4 @@ const configNOTOndisk: Config = { size: 18_504, type: 'image/png' } -}; - -const fixtureNotOnDisk = new TestFixture(configNOTOndisk); -describe(fixtureNotOnDisk.Name, async () => (await fixtureNotOnDisk.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/EightMusesXXX_e2e.ts b/web/src/engine/websites/EightMusesXXX_e2e.ts index 5777eafee3..4d32ba204d 100755 --- a/web/src/engine/websites/EightMusesXXX_e2e.ts +++ b/web/src/engine/websites/EightMusesXXX_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/EightMuses_e2e.ts b/web/src/engine/websites/EightMuses_e2e.ts index 8c10cb223a..4a97f0248f 100755 --- a/web/src/engine/websites/EightMuses_e2e.ts +++ b/web/src/engine/websites/EightMuses_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/EighteenComic_e2e.ts b/web/src/engine/websites/EighteenComic_e2e.ts index 2d62944ed5..9461631751 100644 --- a/web/src/engine/websites/EighteenComic_e2e.ts +++ b/web/src/engine/websites/EighteenComic_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configNotScrambled: Config = { +// CASE: Plain Images +new TestFixture({ plugin: { id: '18comic', title: '18comic' @@ -20,12 +20,10 @@ const configNotScrambled: Config = { size: 188_690, type: 'image/webp' }*/ -}; +}).AssertWebsite(); -const fixtureNotScrambled = new TestFixture(configNotScrambled); -describe(fixtureNotScrambled.Name, async () => (await fixtureNotScrambled.Connect()).AssertWebsite()); - -const configScrambled: Config = { +// CASE: Scrambled Images +new TestFixture({ plugin: { id: '18comic', title: '18comic' @@ -44,7 +42,4 @@ const configScrambled: Config = { size: 66_916, type: 'image/png' }*/ -}; - -const fixtureScrambled = new TestFixture(configScrambled); -describe(fixtureScrambled.Name, async () => (await fixtureScrambled.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ElevenToon_e2e.ts b/web/src/engine/websites/ElevenToon_e2e.ts index 20199a1d67..dd1af053d7 100644 --- a/web/src/engine/websites/ElevenToon_e2e.ts +++ b/web/src/engine/websites/ElevenToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ErosScans_e2e.ts b/web/src/engine/websites/ErosScans_e2e.ts index 4b2f54363e..338aee563d 100644 --- a/web/src/engine/websites/ErosScans_e2e.ts +++ b/web/src/engine/websites/ErosScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/EuphoriaScan_e2e.ts b/web/src/engine/websites/EuphoriaScan_e2e.ts index a4596b80cc..8939f337d9 100644 --- a/web/src/engine/websites/EuphoriaScan_e2e.ts +++ b/web/src/engine/websites/EuphoriaScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/EvilFlowers_e2e.ts b/web/src/engine/websites/EvilFlowers_e2e.ts index 0e67938306..0eac2af957 100644 --- a/web/src/engine/websites/EvilFlowers_e2e.ts +++ b/web/src/engine/websites/EvilFlowers_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FMTeam_e2e.ts b/web/src/engine/websites/FMTeam_e2e.ts index 62d0cf3ea0..f47943e54d 100644 --- a/web/src/engine/websites/FMTeam_e2e.ts +++ b/web/src/engine/websites/FMTeam_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FRTiretScan_e2e.ts b/web/src/engine/websites/FRTiretScan_e2e.ts index 3dfd513469..78f761d130 100644 --- a/web/src/engine/websites/FRTiretScan_e2e.ts +++ b/web/src/engine/websites/FRTiretScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FayScans_e2e.ts b/web/src/engine/websites/FayScans_e2e.ts index 27ba187e66..21be2de799 100644 --- a/web/src/engine/websites/FayScans_e2e.ts +++ b/web/src/engine/websites/FayScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FbSquads_e2e.ts b/web/src/engine/websites/FbSquads_e2e.ts index 06645c962c..7e298898c1 100644 --- a/web/src/engine/websites/FbSquads_e2e.ts +++ b/web/src/engine/websites/FbSquads_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FeelWeb_e2e.ts b/web/src/engine/websites/FeelWeb_e2e.ts index 2a5f40b902..c5774a3b2b 100644 --- a/web/src/engine/websites/FeelWeb_e2e.ts +++ b/web/src/engine/websites/FeelWeb_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FireComics_e2e.ts b/web/src/engine/websites/FireComics_e2e.ts index 092424d6e3..48c77dcb15 100644 --- a/web/src/engine/websites/FireComics_e2e.ts +++ b/web/src/engine/websites/FireComics_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FlameComics_e2e.ts b/web/src/engine/websites/FlameComics_e2e.ts index 82212713bc..a6edc82642 100644 --- a/web/src/engine/websites/FlameComics_e2e.ts +++ b/web/src/engine/websites/FlameComics_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FreeComicOnline_e2e.ts b/web/src/engine/websites/FreeComicOnline_e2e.ts index 3ab4054c0f..c0cc83a546 100755 --- a/web/src/engine/websites/FreeComicOnline_e2e.ts +++ b/web/src/engine/websites/FreeComicOnline_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/FreeManga_e2e.ts b/web/src/engine/websites/FreeManga_e2e.ts index 935e304a32..83b7754495 100755 --- a/web/src/engine/websites/FreeManga_e2e.ts +++ b/web/src/engine/websites/FreeManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Futari_e2e.ts b/web/src/engine/websites/Futari_e2e.ts index d90110102b..a31a178f88 100644 --- a/web/src/engine/websites/Futari_e2e.ts +++ b/web/src/engine/websites/Futari_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GDScans_e2e.ts b/web/src/engine/websites/GDScans_e2e.ts index 28e308b31c..f8ee5d31b4 100755 --- a/web/src/engine/websites/GDScans_e2e.ts +++ b/web/src/engine/websites/GDScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GManga_e2e.ts b/web/src/engine/websites/GManga_e2e.ts index ab8805c5c5..1851537bfd 100644 --- a/web/src/engine/websites/GManga_e2e.ts +++ b/web/src/engine/websites/GManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GTOTheGreatSite_e2e.ts b/web/src/engine/websites/GTOTheGreatSite_e2e.ts index 31d399af10..46af394f2a 100644 --- a/web/src/engine/websites/GTOTheGreatSite_e2e.ts +++ b/web/src/engine/websites/GTOTheGreatSite_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GaiaToon_e2e.ts b/web/src/engine/websites/GaiaToon_e2e.ts index a452d3560f..8d6cf349a7 100644 --- a/web/src/engine/websites/GaiaToon_e2e.ts +++ b/web/src/engine/websites/GaiaToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GalaxyManga_e2e.ts b/web/src/engine/websites/GalaxyManga_e2e.ts index 266a33f637..80cd0d6abc 100644 --- a/web/src/engine/websites/GalaxyManga_e2e.ts +++ b/web/src/engine/websites/GalaxyManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GanGanOnline_e2e.ts b/web/src/engine/websites/GanGanOnline_e2e.ts index 4dc2123296..4141bf8331 100644 --- a/web/src/engine/websites/GanGanOnline_e2e.ts +++ b/web/src/engine/websites/GanGanOnline_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Ganma_e2e.ts b/web/src/engine/websites/Ganma_e2e.ts index 98c542b0c5..3e4193bbf5 100644 --- a/web/src/engine/websites/Ganma_e2e.ts +++ b/web/src/engine/websites/Ganma_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GateManga_e2e.ts b/web/src/engine/websites/GateManga_e2e.ts index 6a82d6c605..31a1fe4ba7 100755 --- a/web/src/engine/websites/GateManga_e2e.ts +++ b/web/src/engine/websites/GateManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GenzToon_e2e.ts b/web/src/engine/websites/GenzToon_e2e.ts index 806650b86d..fd6858f82b 100644 --- a/web/src/engine/websites/GenzToon_e2e.ts +++ b/web/src/engine/websites/GenzToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GhostScan_e2e.ts b/web/src/engine/websites/GhostScan_e2e.ts index 514a922401..a71f7480d7 100644 --- a/web/src/engine/websites/GhostScan_e2e.ts +++ b/web/src/engine/websites/GhostScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GloryManga_e2e.ts b/web/src/engine/websites/GloryManga_e2e.ts index d515db8e01..ea85e68480 100755 --- a/web/src/engine/websites/GloryManga_e2e.ts +++ b/web/src/engine/websites/GloryManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Gntai_e2e.ts b/web/src/engine/websites/Gntai_e2e.ts index 7ecd262c4c..45a0ca4cdf 100644 --- a/web/src/engine/websites/Gntai_e2e.ts +++ b/web/src/engine/websites/Gntai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GolgeBahcesi_e2e.ts b/web/src/engine/websites/GolgeBahcesi_e2e.ts index bd23c634d0..de9b48a966 100644 --- a/web/src/engine/websites/GolgeBahcesi_e2e.ts +++ b/web/src/engine/websites/GolgeBahcesi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GoofFansub_e2e.ts b/web/src/engine/websites/GoofFansub_e2e.ts index d5f72e5d5d..cfb55d6d1a 100755 --- a/web/src/engine/websites/GoofFansub_e2e.ts +++ b/web/src/engine/websites/GoofFansub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GourmetScans_e2e.ts b/web/src/engine/websites/GourmetScans_e2e.ts index bff465030b..aa6a60b8b6 100755 --- a/web/src/engine/websites/GourmetScans_e2e.ts +++ b/web/src/engine/websites/GourmetScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Grimelek_e2e.ts b/web/src/engine/websites/Grimelek_e2e.ts index 6dc203c7ff..346e15e031 100644 --- a/web/src/engine/websites/Grimelek_e2e.ts +++ b/web/src/engine/websites/Grimelek_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GuFengMH8_e2e.ts b/web/src/engine/websites/GuFengMH8_e2e.ts index 9aeb7e8e29..62dc51b2a8 100644 --- a/web/src/engine/websites/GuFengMH8_e2e.ts +++ b/web/src/engine/websites/GuFengMH8_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GuncelManga_e2e.ts b/web/src/engine/websites/GuncelManga_e2e.ts index e07c48c70f..3ce80803a4 100755 --- a/web/src/engine/websites/GuncelManga_e2e.ts +++ b/web/src/engine/websites/GuncelManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/GuruKomik_e2e.ts b/web/src/engine/websites/GuruKomik_e2e.ts index 75c9386cc1..bae8a3a3a0 100644 --- a/web/src/engine/websites/GuruKomik_e2e.ts +++ b/web/src/engine/websites/GuruKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HDPornComics_e2e.ts b/web/src/engine/websites/HDPornComics_e2e.ts index 5b7566ccd7..4a3cd79e22 100644 --- a/web/src/engine/websites/HDPornComics_e2e.ts +++ b/web/src/engine/websites/HDPornComics_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Hachirumi_e2e.ts b/web/src/engine/websites/Hachirumi_e2e.ts index 336f649061..c7f1240b5f 100644 --- a/web/src/engine/websites/Hachirumi_e2e.ts +++ b/web/src/engine/websites/Hachirumi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HadesNoFansub_e2e.ts b/web/src/engine/websites/HadesNoFansub_e2e.ts index 20cea0c31b..13ffa1908a 100755 --- a/web/src/engine/websites/HadesNoFansub_e2e.ts +++ b/web/src/engine/websites/HadesNoFansub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HamTruyen_e2e.ts b/web/src/engine/websites/HamTruyen_e2e.ts index 79d54de6a5..4caefbca3f 100644 --- a/web/src/engine/websites/HamTruyen_e2e.ts +++ b/web/src/engine/websites/HamTruyen_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Hanman18_e2e.ts b/web/src/engine/websites/Hanman18_e2e.ts index cd36772808..58af4b3dfc 100644 --- a/web/src/engine/websites/Hanman18_e2e.ts +++ b/web/src/engine/websites/Hanman18_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HariManga_e2e.ts b/web/src/engine/websites/HariManga_e2e.ts index e28b008ad5..18cb6373c7 100644 --- a/web/src/engine/websites/HariManga_e2e.ts +++ b/web/src/engine/websites/HariManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HarmonyScan_e2e.ts b/web/src/engine/websites/HarmonyScan_e2e.ts index f57fa3d6ba..9a568a1796 100644 --- a/web/src/engine/websites/HarmonyScan_e2e.ts +++ b/web/src/engine/websites/HarmonyScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -9,11 +8,11 @@ const config: Config = { container: { url: 'https://harmony-scan.fr/manga/hyakuren-no-haou-to-seiyaku-no-ikusa-otome/', id: JSON.stringify({ post: '1909', slug: '/manga/hyakuren-no-haou-to-seiyaku-no-ikusa-otome/' }), - title: 'Le matre du Ragnarok et la bndiction des Einherjar' + title: 'Le ma�tre du Ragnarok et la b�n�diction des Einherjar' }, child: { id: '/manga/hyakuren-no-haou-to-seiyaku-no-ikusa-otome/chapitre-12/', - title: 'Chapitre 12 - Une sincrit toute simple' + title: 'Chapitre 12 - Une sinc�rit� toute simple�' }, entry: { index: 0, @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HastaTeamDDT_e2e.ts b/web/src/engine/websites/HastaTeamDDT_e2e.ts index 2183c39bd4..7ba93688e0 100644 --- a/web/src/engine/websites/HastaTeamDDT_e2e.ts +++ b/web/src/engine/websites/HastaTeamDDT_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HastaTeam_e2e.ts b/web/src/engine/websites/HastaTeam_e2e.ts index 36c90cbf49..9051516306 100644 --- a/web/src/engine/websites/HastaTeam_e2e.ts +++ b/web/src/engine/websites/HastaTeam_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Hayalistic_e2e.ts b/web/src/engine/websites/Hayalistic_e2e.ts index a2e59a70a5..bcb648cc6a 100755 --- a/web/src/engine/websites/Hayalistic_e2e.ts +++ b/web/src/engine/websites/Hayalistic_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HeavenManga2_e2e.ts b/web/src/engine/websites/HeavenManga2_e2e.ts index 437e7251e0..94f388592d 100644 --- a/web/src/engine/websites/HeavenManga2_e2e.ts +++ b/web/src/engine/websites/HeavenManga2_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HenChan_e2e.ts b/web/src/engine/websites/HenChan_e2e.ts index fc441e6fd8..583f263571 100644 --- a/web/src/engine/websites/HenChan_e2e.ts +++ b/web/src/engine/websites/HenChan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Hentai20_e2e.ts b/web/src/engine/websites/Hentai20_e2e.ts index 140b64807e..cc68c3e244 100644 --- a/web/src/engine/websites/Hentai20_e2e.ts +++ b/web/src/engine/websites/Hentai20_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Hentai2Read_e2e.ts b/web/src/engine/websites/Hentai2Read_e2e.ts index 6be3e6ab40..ecde28c8cf 100644 --- a/web/src/engine/websites/Hentai2Read_e2e.ts +++ b/web/src/engine/websites/Hentai2Read_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiForce_e2e.ts b/web/src/engine/websites/HentaiForce_e2e.ts index ed280fb329..a32277c219 100644 --- a/web/src/engine/websites/HentaiForce_e2e.ts +++ b/web/src/engine/websites/HentaiForce_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiFox_e2e.ts b/web/src/engine/websites/HentaiFox_e2e.ts index a7f8eefe96..16003d34ef 100644 --- a/web/src/engine/websites/HentaiFox_e2e.ts +++ b/web/src/engine/websites/HentaiFox_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiHand_e2e.ts b/web/src/engine/websites/HentaiHand_e2e.ts index 13b5f0f0cd..62fdf0d1dd 100644 --- a/web/src/engine/websites/HentaiHand_e2e.ts +++ b/web/src/engine/websites/HentaiHand_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiHere_e2e.ts b/web/src/engine/websites/HentaiHere_e2e.ts index 576ce8fac7..d50f06b0d3 100644 --- a/web/src/engine/websites/HentaiHere_e2e.ts +++ b/web/src/engine/websites/HentaiHere_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiRead_e2e.ts b/web/src/engine/websites/HentaiRead_e2e.ts index b315246c9c..1cd1929a63 100755 --- a/web/src/engine/websites/HentaiRead_e2e.ts +++ b/web/src/engine/websites/HentaiRead_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiTeca_e2e.ts b/web/src/engine/websites/HentaiTeca_e2e.ts index 1bc2c8e79d..700798b234 100644 --- a/web/src/engine/websites/HentaiTeca_e2e.ts +++ b/web/src/engine/websites/HentaiTeca_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiVN_e2e.ts b/web/src/engine/websites/HentaiVN_e2e.ts index 3e1198609a..c61daeea7a 100644 --- a/web/src/engine/websites/HentaiVN_e2e.ts +++ b/web/src/engine/websites/HentaiVN_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiWebtoon_e2e.ts b/web/src/engine/websites/HentaiWebtoon_e2e.ts index 2d85027513..08c9716925 100755 --- a/web/src/engine/websites/HentaiWebtoon_e2e.ts +++ b/web/src/engine/websites/HentaiWebtoon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HentaiZone_e2e.ts b/web/src/engine/websites/HentaiZone_e2e.ts index 352cfb38ff..a3c33a48b2 100755 --- a/web/src/engine/websites/HentaiZone_e2e.ts +++ b/web/src/engine/websites/HentaiZone_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HeroTruyen_e2e.ts b/web/src/engine/websites/HeroTruyen_e2e.ts index a1db539bfd..b54e593bba 100644 --- a/web/src/engine/websites/HeroTruyen_e2e.ts +++ b/web/src/engine/websites/HeroTruyen_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HerosWeb_e2e.ts b/web/src/engine/websites/HerosWeb_e2e.ts index 15157d8183..98e881be1e 100644 --- a/web/src/engine/websites/HerosWeb_e2e.ts +++ b/web/src/engine/websites/HerosWeb_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HikariScan_e2e.ts b/web/src/engine/websites/HikariScan_e2e.ts index b00e82a144..230ddb3bb7 100644 --- a/web/src/engine/websites/HikariScan_e2e.ts +++ b/web/src/engine/websites/HikariScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Hinapyon_e2e.ts b/web/src/engine/websites/Hinapyon_e2e.ts index 6de493e3df..65c45666cd 100644 --- a/web/src/engine/websites/Hinapyon_e2e.ts +++ b/web/src/engine/websites/Hinapyon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HiperCool_e2e.ts b/web/src/engine/websites/HiperCool_e2e.ts index ee8909ca46..568b365409 100644 --- a/web/src/engine/websites/HiperCool_e2e.ts +++ b/web/src/engine/websites/HiperCool_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Hiperdex_e2e.ts b/web/src/engine/websites/Hiperdex_e2e.ts index 11823d9c1f..5515bbbe5c 100644 --- a/web/src/engine/websites/Hiperdex_e2e.ts +++ b/web/src/engine/websites/Hiperdex_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); +new TestFixture(config).AssertWebsite(); diff --git a/web/src/engine/websites/Hitomi_e2e.ts b/web/src/engine/websites/Hitomi_e2e.ts index d418288630..5c54fa2d70 100644 --- a/web/src/engine/websites/Hitomi_e2e.ts +++ b/web/src/engine/websites/Hitomi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HniScanTrad_e2e.ts b/web/src/engine/websites/HniScanTrad_e2e.ts index 0ee28e2d1d..4bf96bca8f 100644 --- a/web/src/engine/websites/HniScanTrad_e2e.ts +++ b/web/src/engine/websites/HniScanTrad_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HoiFansub_e2e.ts b/web/src/engine/websites/HoiFansub_e2e.ts index 01b740842f..e4020edeae 100644 --- a/web/src/engine/websites/HoiFansub_e2e.ts +++ b/web/src/engine/websites/HoiFansub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HorrorFC_e2e.ts b/web/src/engine/websites/HorrorFC_e2e.ts index 17ab7a4d2a..d5fc2e3163 100644 --- a/web/src/engine/websites/HorrorFC_e2e.ts +++ b/web/src/engine/websites/HorrorFC_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HqNow_e2e.ts b/web/src/engine/websites/HqNow_e2e.ts index 74fc832959..8633d1208f 100644 --- a/web/src/engine/websites/HqNow_e2e.ts +++ b/web/src/engine/websites/HqNow_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HunterScan_e2e.ts b/web/src/engine/websites/HunterScan_e2e.ts index 12c9188b04..9926266646 100755 --- a/web/src/engine/websites/HunterScan_e2e.ts +++ b/web/src/engine/websites/HunterScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/HwagoID_e2e.ts b/web/src/engine/websites/HwagoID_e2e.ts index 755b3da422..7ceb4693f9 100644 --- a/web/src/engine/websites/HwagoID_e2e.ts +++ b/web/src/engine/websites/HwagoID_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/IMHentai_e2e.ts b/web/src/engine/websites/IMHentai_e2e.ts index 8246867e15..b5d8060ea9 100644 --- a/web/src/engine/websites/IMHentai_e2e.ts +++ b/web/src/engine/websites/IMHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/IchijinPlus_e2e.ts b/web/src/engine/websites/IchijinPlus_e2e.ts index e556c1b3f4..94a912a12f 100644 --- a/web/src/engine/websites/IchijinPlus_e2e.ts +++ b/web/src/engine/websites/IchijinPlus_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Ikanmh_e2e.ts b/web/src/engine/websites/Ikanmh_e2e.ts index 0b0d14aab6..5bcb4f3548 100644 --- a/web/src/engine/websites/Ikanmh_e2e.ts +++ b/web/src/engine/websites/Ikanmh_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/IkigaiMangas_e2e.ts b/web/src/engine/websites/IkigaiMangas_e2e.ts index 354e18d2c0..a3fbab4d81 100644 --- a/web/src/engine/websites/IkigaiMangas_e2e.ts +++ b/web/src/engine/websites/IkigaiMangas_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Ikiru_e2e.ts b/web/src/engine/websites/Ikiru_e2e.ts index 1a71185581..1322d4605d 100644 --- a/web/src/engine/websites/Ikiru_e2e.ts +++ b/web/src/engine/websites/Ikiru_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/IllusionScan_e2e.ts b/web/src/engine/websites/IllusionScan_e2e.ts index 772a243127..540104e693 100644 --- a/web/src/engine/websites/IllusionScan_e2e.ts +++ b/web/src/engine/websites/IllusionScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Imgur_e2e.ts b/web/src/engine/websites/Imgur_e2e.ts index 15e370b6c7..21f53c220a 100644 --- a/web/src/engine/websites/Imgur_e2e.ts +++ b/web/src/engine/websites/Imgur_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/InManga_e2e.ts b/web/src/engine/websites/InManga_e2e.ts index f19905510e..cc2e8dd46f 100644 --- a/web/src/engine/websites/InManga_e2e.ts +++ b/web/src/engine/websites/InManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/InfraFandub_e2e.ts b/web/src/engine/websites/InfraFandub_e2e.ts index aae938be69..4ab2807f59 100644 --- a/web/src/engine/websites/InfraFandub_e2e.ts +++ b/web/src/engine/websites/InfraFandub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/InmortalScan_e2e.ts b/web/src/engine/websites/InmortalScan_e2e.ts index 499f3d3c60..e3bfcae4c6 100755 --- a/web/src/engine/websites/InmortalScan_e2e.ts +++ b/web/src/engine/websites/InmortalScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/IrisScanlator_e2e.ts b/web/src/engine/websites/IrisScanlator_e2e.ts index b1f5fc1bc3..5edd08d5ad 100755 --- a/web/src/engine/websites/IrisScanlator_e2e.ts +++ b/web/src/engine/websites/IrisScanlator_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ItsYourRightManhua_e2e.ts b/web/src/engine/websites/ItsYourRightManhua_e2e.ts index cb4f58ec10..d02046f8a3 100755 --- a/web/src/engine/websites/ItsYourRightManhua_e2e.ts +++ b/web/src/engine/websites/ItsYourRightManhua_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/JManga_e2e.ts b/web/src/engine/websites/JManga_e2e.ts index 49f5dacab7..fdb2af2c06 100644 --- a/web/src/engine/websites/JManga_e2e.ts +++ b/web/src/engine/websites/JManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/JapScan_e2e.ts b/web/src/engine/websites/JapScan_e2e.ts index 9837c8cab5..1c494c4a61 100644 --- a/web/src/engine/websites/JapScan_e2e.ts +++ b/web/src/engine/websites/JapScan_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const fixtureSingleReader = new TestFixture({ +// CASE: Single Reader +new TestFixture({ plugin: { id: 'japscan', title: 'JapScan' @@ -20,10 +20,10 @@ const fixtureSingleReader = new TestFixture({ size: 614_256, type: 'image/jpeg' }*/ -}); -describe(fixtureSingleReader.Name, async () => (await fixtureSingleReader.Connect()).AssertWebsite()); +}).AssertWebsite(); -const fixtureFullReader = new TestFixture({ +// CASE: Full Reader +new TestFixture({ plugin: { id: 'japscan', title: 'JapScan' @@ -42,5 +42,4 @@ const fixtureFullReader = new TestFixture({ size: 173_855, type: 'image/jpeg' }*/ -}); -describe(fixtureFullReader.Name, async () => (await fixtureFullReader.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/JiangzaiToon_e2e.ts b/web/src/engine/websites/JiangzaiToon_e2e.ts index 42d5e37a4e..1e7bc2cf04 100644 --- a/web/src/engine/websites/JiangzaiToon_e2e.ts +++ b/web/src/engine/websites/JiangzaiToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/JuinJutsuTeam_e2e.ts b/web/src/engine/websites/JuinJutsuTeam_e2e.ts index 44423a9bc6..d3382c0a82 100644 --- a/web/src/engine/websites/JuinJutsuTeam_e2e.ts +++ b/web/src/engine/websites/JuinJutsuTeam_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KSGroupScans_e2e.ts b/web/src/engine/websites/KSGroupScans_e2e.ts index acb3e16e0d..4271c51fd1 100644 --- a/web/src/engine/websites/KSGroupScans_e2e.ts +++ b/web/src/engine/websites/KSGroupScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KabusManga_e2e.ts b/web/src/engine/websites/KabusManga_e2e.ts index 4e6ec36e52..a04eb25a28 100644 --- a/web/src/engine/websites/KabusManga_e2e.ts +++ b/web/src/engine/websites/KabusManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KadoComi_e2e.ts b/web/src/engine/websites/KadoComi_e2e.ts index df0dad3df5..d401259007 100644 --- a/web/src/engine/websites/KadoComi_e2e.ts +++ b/web/src/engine/websites/KadoComi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Kakaopage_e2e.ts b/web/src/engine/websites/Kakaopage_e2e.ts index 7ceae47323..e1ac0ab18d 100644 --- a/web/src/engine/websites/Kakaopage_e2e.ts +++ b/web/src/engine/websites/Kakaopage_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KaliScan_e2e.ts b/web/src/engine/websites/KaliScan_e2e.ts index 2762356b22..deb97a4ca7 100644 --- a/web/src/engine/websites/KaliScan_e2e.ts +++ b/web/src/engine/websites/KaliScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Kanjiku_e2e.ts b/web/src/engine/websites/Kanjiku_e2e.ts index 5b8081b558..aa35ad06f8 100644 --- a/web/src/engine/websites/Kanjiku_e2e.ts +++ b/web/src/engine/websites/Kanjiku_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Kanzenin_e2e.ts b/web/src/engine/websites/Kanzenin_e2e.ts index 018dc2c41f..331496c254 100644 --- a/web/src/engine/websites/Kanzenin_e2e.ts +++ b/web/src/engine/websites/Kanzenin_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Katakomik_e2e.ts b/web/src/engine/websites/Katakomik_e2e.ts index 6b21fed0e8..ee407331bf 100644 --- a/web/src/engine/websites/Katakomik_e2e.ts +++ b/web/src/engine/websites/Katakomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KingOfManga_e2e.ts b/web/src/engine/websites/KingOfManga_e2e.ts index 1e45e44222..2cf2b7800b 100644 --- a/web/src/engine/websites/KingOfManga_e2e.ts +++ b/web/src/engine/websites/KingOfManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KingOfShojo_e2e.ts b/web/src/engine/websites/KingOfShojo_e2e.ts index c0bce11405..600da8bb0f 100644 --- a/web/src/engine/websites/KingOfShojo_e2e.ts +++ b/web/src/engine/websites/KingOfShojo_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Kiryuu_e2e.ts b/web/src/engine/websites/Kiryuu_e2e.ts index f173296e8d..3ead64bd86 100644 --- a/web/src/engine/websites/Kiryuu_e2e.ts +++ b/web/src/engine/websites/Kiryuu_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KissmangaIN_e2e.ts b/web/src/engine/websites/KissmangaIN_e2e.ts index 70ff6cbfda..b317cbb41e 100755 --- a/web/src/engine/websites/KissmangaIN_e2e.ts +++ b/web/src/engine/websites/KissmangaIN_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KissmangaORG_e2e.ts b/web/src/engine/websites/KissmangaORG_e2e.ts index 97f6e66160..423a330971 100644 --- a/web/src/engine/websites/KissmangaORG_e2e.ts +++ b/web/src/engine/websites/KissmangaORG_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KlikManga_e2e.ts b/web/src/engine/websites/KlikManga_e2e.ts index ba1d3d8701..33e3ca42f7 100755 --- a/web/src/engine/websites/KlikManga_e2e.ts +++ b/web/src/engine/websites/KlikManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KnightNoFansub_e2e.ts b/web/src/engine/websites/KnightNoFansub_e2e.ts index 3a44d6f6ba..501ce8a53b 100755 --- a/web/src/engine/websites/KnightNoFansub_e2e.ts +++ b/web/src/engine/websites/KnightNoFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KolNovel_e2e.ts b/web/src/engine/websites/KolNovel_e2e.ts index bb394f933e..475ef8c59e 100644 --- a/web/src/engine/websites/KolNovel_e2e.ts +++ b/web/src/engine/websites/KolNovel_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomBatch_e2e.ts b/web/src/engine/websites/KomBatch_e2e.ts index 4138420ac9..68f2cfd583 100644 --- a/web/src/engine/websites/KomBatch_e2e.ts +++ b/web/src/engine/websites/KomBatch_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikCast_e2e.ts b/web/src/engine/websites/KomikCast_e2e.ts index 0330fe19bd..192894a50e 100644 --- a/web/src/engine/websites/KomikCast_e2e.ts +++ b/web/src/engine/websites/KomikCast_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikGo_e2e.ts b/web/src/engine/websites/KomikGo_e2e.ts index 3f290f55bf..a788691841 100644 --- a/web/src/engine/websites/KomikGo_e2e.ts +++ b/web/src/engine/websites/KomikGo_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikIndoId_e2e.ts b/web/src/engine/websites/KomikIndoId_e2e.ts index ee11837e2f..11391ee792 100644 --- a/web/src/engine/websites/KomikIndoId_e2e.ts +++ b/web/src/engine/websites/KomikIndoId_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikIndoMe_e2e.ts b/web/src/engine/websites/KomikIndoMe_e2e.ts index 34a97a7ab9..c726a25f95 100644 --- a/web/src/engine/websites/KomikIndoMe_e2e.ts +++ b/web/src/engine/websites/KomikIndoMe_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikIndo_e2e.ts b/web/src/engine/websites/KomikIndo_e2e.ts index d87581b8b0..4f861de754 100644 --- a/web/src/engine/websites/KomikIndo_e2e.ts +++ b/web/src/engine/websites/KomikIndo_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikLab_e2e.ts b/web/src/engine/websites/KomikLab_e2e.ts index 7e1fd96a65..17ae727d5b 100644 --- a/web/src/engine/websites/KomikLab_e2e.ts +++ b/web/src/engine/websites/KomikLab_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikLovers_e2e.ts b/web/src/engine/websites/KomikLovers_e2e.ts index 1718b749ad..9b16c7c993 100644 --- a/web/src/engine/websites/KomikLovers_e2e.ts +++ b/web/src/engine/websites/KomikLovers_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikStation_e2e.ts b/web/src/engine/websites/KomikStation_e2e.ts index 8a1ec8f783..60515bd552 100644 --- a/web/src/engine/websites/KomikStation_e2e.ts +++ b/web/src/engine/websites/KomikStation_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikTap_e2e.ts b/web/src/engine/websites/KomikTap_e2e.ts index c476ff378e..1474fabf8a 100644 --- a/web/src/engine/websites/KomikTap_e2e.ts +++ b/web/src/engine/websites/KomikTap_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikindoInfo_e2e.ts b/web/src/engine/websites/KomikindoInfo_e2e.ts index 6010238b91..65c03af15a 100644 --- a/web/src/engine/websites/KomikindoInfo_e2e.ts +++ b/web/src/engine/websites/KomikindoInfo_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KomikuCOM_e2e.ts b/web/src/engine/websites/KomikuCOM_e2e.ts index d4c90602a8..674f2bbce5 100644 --- a/web/src/engine/websites/KomikuCOM_e2e.ts +++ b/web/src/engine/websites/KomikuCOM_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Komiku_e2e.ts b/web/src/engine/websites/Komiku_e2e.ts index 164a4aef3d..2065b3f5e0 100644 --- a/web/src/engine/websites/Komiku_e2e.ts +++ b/web/src/engine/websites/Komiku_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KuManga_e2e.ts b/web/src/engine/websites/KuManga_e2e.ts index 684ce27c0e..526a63e958 100644 --- a/web/src/engine/websites/KuManga_e2e.ts +++ b/web/src/engine/websites/KuManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Kuaikanmanhua_e2e.ts b/web/src/engine/websites/Kuaikanmanhua_e2e.ts index 0725a7e71b..b487853ec4 100644 --- a/web/src/engine/websites/Kuaikanmanhua_e2e.ts +++ b/web/src/engine/websites/Kuaikanmanhua_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KumoTran_e2e.ts b/web/src/engine/websites/KumoTran_e2e.ts index f8fefc801c..564c59b854 100755 --- a/web/src/engine/websites/KumoTran_e2e.ts +++ b/web/src/engine/websites/KumoTran_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const scrambledChapterConfig = { +// CASE: Scrambled Images +new TestFixture({ plugin: { id: 'kumotran', title: 'KumoTran' @@ -20,12 +20,10 @@ const scrambledChapterConfig = { size: 160_823, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const scrambledFixture = new TestFixture(scrambledChapterConfig); -describe(scrambledFixture.Name, async () => (await scrambledFixture.Connect()).AssertWebsite()); - -const normalChapterConfig = { +// CASE: Plain Images +new TestFixture({ plugin: { id: 'kumotran', title: 'KumoTran' @@ -44,7 +42,4 @@ const normalChapterConfig = { size: 290_861, type: 'image/jpeg' } -}; - -const normalFixture = new TestFixture(normalChapterConfig); -describe(normalFixture.Name, async () => (await normalFixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KunManga_e2e.ts b/web/src/engine/websites/KunManga_e2e.ts index 4798802807..70c7fb0161 100644 --- a/web/src/engine/websites/KunManga_e2e.ts +++ b/web/src/engine/websites/KunManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/KurageBunch_e2e.ts b/web/src/engine/websites/KurageBunch_e2e.ts index 8e23addbf1..0f8712d2b8 100644 --- a/web/src/engine/websites/KurageBunch_e2e.ts +++ b/web/src/engine/websites/KurageBunch_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LELManga_e2e.ts b/web/src/engine/websites/LELManga_e2e.ts index c47d518206..37bfe4b346 100644 --- a/web/src/engine/websites/LELManga_e2e.ts +++ b/web/src/engine/websites/LELManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LELScanVF_e2e.ts b/web/src/engine/websites/LELScanVF_e2e.ts index 768c660fea..cae2682742 100644 --- a/web/src/engine/websites/LELScanVF_e2e.ts +++ b/web/src/engine/websites/LELScanVF_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LELScan_e2e.ts b/web/src/engine/websites/LELScan_e2e.ts index d84cb39c7f..1260d289b5 100644 --- a/web/src/engine/websites/LELScan_e2e.ts +++ b/web/src/engine/websites/LELScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LHTranslation_e2e.ts b/web/src/engine/websites/LHTranslation_e2e.ts index a8a1b040d6..5f456a5c63 100755 --- a/web/src/engine/websites/LHTranslation_e2e.ts +++ b/web/src/engine/websites/LHTranslation_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Laimanhua8_e2e.ts b/web/src/engine/websites/Laimanhua8_e2e.ts index 2bdcbad51c..6efe60df87 100644 --- a/web/src/engine/websites/Laimanhua8_e2e.ts +++ b/web/src/engine/websites/Laimanhua8_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LamiManga_e2e.ts b/web/src/engine/websites/LamiManga_e2e.ts index f4df5f9c84..2455f8716f 100644 --- a/web/src/engine/websites/LamiManga_e2e.ts +++ b/web/src/engine/websites/LamiManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LaviniaFansub_e2e.ts b/web/src/engine/websites/LaviniaFansub_e2e.ts index 9fccd276b9..607f3143ce 100644 --- a/web/src/engine/websites/LaviniaFansub_e2e.ts +++ b/web/src/engine/websites/LaviniaFansub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LectorMangaLat_e2e.ts b/web/src/engine/websites/LectorMangaLat_e2e.ts index 8550b9672a..2db0aac761 100644 --- a/web/src/engine/websites/LectorMangaLat_e2e.ts +++ b/web/src/engine/websites/LectorMangaLat_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LeerCapitulo_e2e.ts b/web/src/engine/websites/LeerCapitulo_e2e.ts index 16a4617e2d..2e97c8036c 100644 --- a/web/src/engine/websites/LeerCapitulo_e2e.ts +++ b/web/src/engine/websites/LeerCapitulo_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const fixture = new TestFixture({ +new TestFixture({ plugin: { id: 'leercapitulo', title: 'LeerCapitulo' @@ -20,5 +19,4 @@ const fixture = new TestFixture({ size: 602_693, // value switch between 317_943 and 602_693 type: 'image/jpeg' } -}); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); +}).AssertWebsite(); diff --git a/web/src/engine/websites/LegacyScans_e2e.ts b/web/src/engine/websites/LegacyScans_e2e.ts index ed170a07fd..bac4a58a23 100644 --- a/web/src/engine/websites/LegacyScans_e2e.ts +++ b/web/src/engine/websites/LegacyScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LerYaoi_e2e.ts b/web/src/engine/websites/LerYaoi_e2e.ts index c5472cda19..df64e40d19 100644 --- a/web/src/engine/websites/LerYaoi_e2e.ts +++ b/web/src/engine/websites/LerYaoi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LeviatanScans_e2e.ts b/web/src/engine/websites/LeviatanScans_e2e.ts index dec3570f4c..0fa5e10269 100755 --- a/web/src/engine/websites/LeviatanScans_e2e.ts +++ b/web/src/engine/websites/LeviatanScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LewdManhwa_e2e.ts b/web/src/engine/websites/LewdManhwa_e2e.ts index cb33f75d4b..7820402470 100644 --- a/web/src/engine/websites/LewdManhwa_e2e.ts +++ b/web/src/engine/websites/LewdManhwa_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LezhinES_e2e.ts b/web/src/engine/websites/LezhinES_e2e.ts index c86a6e3ec5..0de6e1e6ac 100644 --- a/web/src/engine/websites/LezhinES_e2e.ts +++ b/web/src/engine/websites/LezhinES_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LianScans_e2e.ts b/web/src/engine/websites/LianScans_e2e.ts index 96b02ce9be..ae23e9a174 100644 --- a/web/src/engine/websites/LianScans_e2e.ts +++ b/web/src/engine/websites/LianScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LikeManga_e2e.ts b/web/src/engine/websites/LikeManga_e2e.ts index bc760f4334..0ccd6b0e6d 100644 --- a/web/src/engine/websites/LikeManga_e2e.ts +++ b/web/src/engine/websites/LikeManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); +new TestFixture(config).AssertWebsite(); diff --git a/web/src/engine/websites/LilyManga_e2e.ts b/web/src/engine/websites/LilyManga_e2e.ts index ceeb8ac224..3de332c191 100755 --- a/web/src/engine/websites/LilyManga_e2e.ts +++ b/web/src/engine/websites/LilyManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LilyumFansub_e2e.ts b/web/src/engine/websites/LilyumFansub_e2e.ts index 3ee76dab06..bd577ebef4 100644 --- a/web/src/engine/websites/LilyumFansub_e2e.ts +++ b/web/src/engine/websites/LilyumFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); +new TestFixture(config).AssertWebsite(); diff --git a/web/src/engine/websites/LittleGarden_e2e.ts b/web/src/engine/websites/LittleGarden_e2e.ts index d684aaa3ff..05cab7550d 100644 --- a/web/src/engine/websites/LittleGarden_e2e.ts +++ b/web/src/engine/websites/LittleGarden_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LowerWorld_e2e.ts b/web/src/engine/websites/LowerWorld_e2e.ts index 593e256422..115241b22f 100644 --- a/web/src/engine/websites/LowerWorld_e2e.ts +++ b/web/src/engine/websites/LowerWorld_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LuaScans_e2e.ts b/web/src/engine/websites/LuaScans_e2e.ts index 3b32185750..51bae394ea 100644 --- a/web/src/engine/websites/LuaScans_e2e.ts +++ b/web/src/engine/websites/LuaScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LumosKomik_e2e.ts b/web/src/engine/websites/LumosKomik_e2e.ts index 7b7297c974..41c41879e2 100644 --- a/web/src/engine/websites/LumosKomik_e2e.ts +++ b/web/src/engine/websites/LumosKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LunaScans_e2e.ts b/web/src/engine/websites/LunaScans_e2e.ts index fd72b15eac..0ed1e41563 100644 --- a/web/src/engine/websites/LunaScans_e2e.ts +++ b/web/src/engine/websites/LunaScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); +new TestFixture(config).AssertWebsite(); diff --git a/web/src/engine/websites/LunarScans_e2e.ts b/web/src/engine/websites/LunarScans_e2e.ts index 08b8d0ad55..049311b2c8 100644 --- a/web/src/engine/websites/LunarScans_e2e.ts +++ b/web/src/engine/websites/LunarScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LupiTeam_e2e.ts b/web/src/engine/websites/LupiTeam_e2e.ts index 49ae6e3331..95618c4df6 100644 --- a/web/src/engine/websites/LupiTeam_e2e.ts +++ b/web/src/engine/websites/LupiTeam_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Luscious_e2e.ts b/web/src/engine/websites/Luscious_e2e.ts index a0f396ea51..8ba5505c7c 100644 --- a/web/src/engine/websites/Luscious_e2e.ts +++ b/web/src/engine/websites/Luscious_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/LynxScans_e2e.ts b/web/src/engine/websites/LynxScans_e2e.ts index ebf0a6bf27..83260626b1 100644 --- a/web/src/engine/websites/LynxScans_e2e.ts +++ b/web/src/engine/websites/LynxScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MHScans_e2e.ts b/web/src/engine/websites/MHScans_e2e.ts index 74d98c30f4..22b93bc41d 100644 --- a/web/src/engine/websites/MHScans_e2e.ts +++ b/web/src/engine/websites/MHScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MMFenix_e2e.ts b/web/src/engine/websites/MMFenix_e2e.ts index 30a3de477d..b25a7c2593 100755 --- a/web/src/engine/websites/MMFenix_e2e.ts +++ b/web/src/engine/websites/MMFenix_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MaID_e2e.ts b/web/src/engine/websites/MaID_e2e.ts index e7e4824ec7..9f221ff86c 100644 --- a/web/src/engine/websites/MaID_e2e.ts +++ b/web/src/engine/websites/MaID_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MadaraDex_e2e.ts b/web/src/engine/websites/MadaraDex_e2e.ts index c41334bbde..cd1ea0d7a5 100644 --- a/web/src/engine/websites/MadaraDex_e2e.ts +++ b/web/src/engine/websites/MadaraDex_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MagComi_e2e.ts b/web/src/engine/websites/MagComi_e2e.ts index 7c8d784dc8..3be02295ca 100644 --- a/web/src/engine/websites/MagComi_e2e.ts +++ b/web/src/engine/websites/MagComi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MagKan_e2e.ts b/web/src/engine/websites/MagKan_e2e.ts index f8e6f1fe51..ffae5168f4 100644 --- a/web/src/engine/websites/MagKan_e2e.ts +++ b/web/src/engine/websites/MagKan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MagicalTranslators_e2e.ts b/web/src/engine/websites/MagicalTranslators_e2e.ts index 4984474638..04511c2d9a 100644 --- a/web/src/engine/websites/MagicalTranslators_e2e.ts +++ b/web/src/engine/websites/MagicalTranslators_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MagusManga_e2e.ts b/web/src/engine/websites/MagusManga_e2e.ts index 386e39be05..637c1fa03e 100644 --- a/web/src/engine/websites/MagusManga_e2e.ts +++ b/web/src/engine/websites/MagusManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MaidScan_e2e.ts b/web/src/engine/websites/MaidScan_e2e.ts index 519f028771..85fe627194 100644 --- a/web/src/engine/websites/MaidScan_e2e.ts +++ b/web/src/engine/websites/MaidScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManHastro_e2e.ts b/web/src/engine/websites/ManHastro_e2e.ts index c2701796c1..0c55922d4b 100644 --- a/web/src/engine/websites/ManHastro_e2e.ts +++ b/web/src/engine/websites/ManHastro_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManHatic_e2e.ts b/web/src/engine/websites/ManHatic_e2e.ts index 3b0a6c9be7..384cd0d507 100644 --- a/web/src/engine/websites/ManHatic_e2e.ts +++ b/web/src/engine/websites/ManHatic_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManHuaGui_e2e.ts b/web/src/engine/websites/ManHuaGui_e2e.ts index 1cee6095e6..a8e3dbbeb0 100644 --- a/web/src/engine/websites/ManHuaGui_e2e.ts +++ b/web/src/engine/websites/ManHuaGui_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManWe_e2e.ts b/web/src/engine/websites/ManWe_e2e.ts index 02001156ee..d2d143e615 100644 --- a/web/src/engine/websites/ManWe_e2e.ts +++ b/web/src/engine/websites/ManWe_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangAs_e2e.ts b/web/src/engine/websites/MangAs_e2e.ts index 04a562e0d2..d12730497e 100644 --- a/web/src/engine/websites/MangAs_e2e.ts +++ b/web/src/engine/websites/MangAs_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manga168_e2e.ts b/web/src/engine/websites/Manga168_e2e.ts index 39acdfc78d..73288f25ec 100644 --- a/web/src/engine/websites/Manga168_e2e.ts +++ b/web/src/engine/websites/Manga168_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manga18FX_e2e.ts b/web/src/engine/websites/Manga18FX_e2e.ts index 9638aca612..d0e32599a8 100755 --- a/web/src/engine/websites/Manga18FX_e2e.ts +++ b/web/src/engine/websites/Manga18FX_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manga347_e2e.ts b/web/src/engine/websites/Manga347_e2e.ts index 818fedba68..5595114236 100755 --- a/web/src/engine/websites/Manga347_e2e.ts +++ b/web/src/engine/websites/Manga347_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manga3S_e2e.ts b/web/src/engine/websites/Manga3S_e2e.ts index 9b5655e906..8abb7dc418 100755 --- a/web/src/engine/websites/Manga3S_e2e.ts +++ b/web/src/engine/websites/Manga3S_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const fixture = new TestFixture({ +new TestFixture({ plugin: { id: 'manga3s', title: 'Manga3S' @@ -20,5 +19,4 @@ const fixture = new TestFixture({ size: 97_936, type: 'image/jpeg' } -}); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaAy_e2e.ts b/web/src/engine/websites/MangaAy_e2e.ts index 30f4184d59..523a5df762 100644 --- a/web/src/engine/websites/MangaAy_e2e.ts +++ b/web/src/engine/websites/MangaAy_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaBTT_e2e.ts b/web/src/engine/websites/MangaBTT_e2e.ts index 001a68bca7..df05dbe452 100644 --- a/web/src/engine/websites/MangaBTT_e2e.ts +++ b/web/src/engine/websites/MangaBTT_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaBat_e2e.ts b/web/src/engine/websites/MangaBat_e2e.ts index b30fece164..4dc67c6b67 100644 --- a/web/src/engine/websites/MangaBat_e2e.ts +++ b/web/src/engine/websites/MangaBat_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaBuddy_e2e.ts b/web/src/engine/websites/MangaBuddy_e2e.ts index 4ad4bf7aa0..269878b6a7 100644 --- a/web/src/engine/websites/MangaBuddy_e2e.ts +++ b/web/src/engine/websites/MangaBuddy_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaCanBlog_e2e.ts b/web/src/engine/websites/MangaCanBlog_e2e.ts index 0a5498597c..9e7e1b7489 100644 --- a/web/src/engine/websites/MangaCanBlog_e2e.ts +++ b/web/src/engine/websites/MangaCanBlog_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaChan_e2e.ts b/web/src/engine/websites/MangaChan_e2e.ts index 82f34b7b7a..2955b08292 100644 --- a/web/src/engine/websites/MangaChan_e2e.ts +++ b/web/src/engine/websites/MangaChan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaClash_e2e.ts b/web/src/engine/websites/MangaClash_e2e.ts index 10daaa3c97..c9f1b3296e 100755 --- a/web/src/engine/websites/MangaClash_e2e.ts +++ b/web/src/engine/websites/MangaClash_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaCrab_e2e.ts b/web/src/engine/websites/MangaCrab_e2e.ts index 736b2fb156..39072de638 100755 --- a/web/src/engine/websites/MangaCrab_e2e.ts +++ b/web/src/engine/websites/MangaCrab_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaCross_e2e.ts b/web/src/engine/websites/MangaCross_e2e.ts index b4148d78bf..9c88bedc8d 100644 --- a/web/src/engine/websites/MangaCross_e2e.ts +++ b/web/src/engine/websites/MangaCross_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaDemon_e2e.ts b/web/src/engine/websites/MangaDemon_e2e.ts index fde5f85a10..0468971d1e 100644 --- a/web/src/engine/websites/MangaDemon_e2e.ts +++ b/web/src/engine/websites/MangaDemon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaDex_e2e.ts b/web/src/engine/websites/MangaDex_e2e.ts index 99964e3d1b..537e9e3d2a 100644 --- a/web/src/engine/websites/MangaDex_e2e.ts +++ b/web/src/engine/websites/MangaDex_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const config = { +new TestFixture({ plugin: { id: 'mangadex', title: 'MangaDex' @@ -20,7 +19,4 @@ const config = { size: 290_930, type: 'image/jpeg' } -}; - -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaDistrict_e2e.ts b/web/src/engine/websites/MangaDistrict_e2e.ts index c791ce69e2..a3b59e766a 100644 --- a/web/src/engine/websites/MangaDistrict_e2e.ts +++ b/web/src/engine/websites/MangaDistrict_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaEclipse_e2e.ts b/web/src/engine/websites/MangaEclipse_e2e.ts index 3313a70bbb..bac078c374 100755 --- a/web/src/engine/websites/MangaEclipse_e2e.ts +++ b/web/src/engine/websites/MangaEclipse_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaEfendisi_e2e.ts b/web/src/engine/websites/MangaEfendisi_e2e.ts index 5a7c4d21c3..0150c6cc7f 100644 --- a/web/src/engine/websites/MangaEfendisi_e2e.ts +++ b/web/src/engine/websites/MangaEfendisi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaEighteenClub_e2e.ts b/web/src/engine/websites/MangaEighteenClub_e2e.ts index d9d56a36e3..087c26bd79 100644 --- a/web/src/engine/websites/MangaEighteenClub_e2e.ts +++ b/web/src/engine/websites/MangaEighteenClub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaEighteenUS_e2e.ts b/web/src/engine/websites/MangaEighteenUS_e2e.ts index d25d4e87e0..70e455d205 100644 --- a/web/src/engine/websites/MangaEighteenUS_e2e.ts +++ b/web/src/engine/websites/MangaEighteenUS_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaFire_e2e.ts b/web/src/engine/websites/MangaFire_e2e.ts index 0576e2056d..f89d7132b1 100644 --- a/web/src/engine/websites/MangaFire_e2e.ts +++ b/web/src/engine/websites/MangaFire_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configVolume = { +new TestFixture({ plugin: { id: 'mangafire', title: 'MangaFire' @@ -20,12 +19,9 @@ const configVolume = { size: 156_390, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureVolume = new TestFixture(configVolume); -describe(fixtureVolume.Name, async () => (await fixtureVolume.Connect()).AssertWebsite()); - -const configChapter = { +new TestFixture({ plugin: { id: 'mangafire', title: 'MangaFire' @@ -44,7 +40,4 @@ const configChapter = { size: 353_323, type: 'image/jpeg' } -}; - -const fixtureChapter = new TestFixture(configChapter); -describe(fixtureChapter.Name, async () => (await fixtureChapter.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaForFree_e2e.ts b/web/src/engine/websites/MangaForFree_e2e.ts index ea8dc61a00..854daa3e8f 100755 --- a/web/src/engine/websites/MangaForFree_e2e.ts +++ b/web/src/engine/websites/MangaForFree_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaForest_e2e.ts b/web/src/engine/websites/MangaForest_e2e.ts index 6b7ecf36cd..f053ce0344 100644 --- a/web/src/engine/websites/MangaForest_e2e.ts +++ b/web/src/engine/websites/MangaForest_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaFoxFull_e2e.ts b/web/src/engine/websites/MangaFoxFull_e2e.ts index 1020bcf82f..449e76190d 100644 --- a/web/src/engine/websites/MangaFoxFull_e2e.ts +++ b/web/src/engine/websites/MangaFoxFull_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaFox_e2e.ts b/web/src/engine/websites/MangaFox_e2e.ts index 977fb316a8..931c2a84a5 100644 --- a/web/src/engine/websites/MangaFox_e2e.ts +++ b/web/src/engine/websites/MangaFox_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaFreak_e2e.ts b/web/src/engine/websites/MangaFreak_e2e.ts index ee1e13d8c0..41c3719158 100644 --- a/web/src/engine/websites/MangaFreak_e2e.ts +++ b/web/src/engine/websites/MangaFreak_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaGG_e2e.ts b/web/src/engine/websites/MangaGG_e2e.ts index 39de1da66f..162cf68138 100755 --- a/web/src/engine/websites/MangaGG_e2e.ts +++ b/web/src/engine/websites/MangaGG_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaGeko_e2e.ts b/web/src/engine/websites/MangaGeko_e2e.ts index 163c3f7c5f..dc3e5900fa 100644 --- a/web/src/engine/websites/MangaGeko_e2e.ts +++ b/web/src/engine/websites/MangaGeko_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaGezgini_e2e.ts b/web/src/engine/websites/MangaGezgini_e2e.ts index b53497126c..ed2ec20b6b 100644 --- a/web/src/engine/websites/MangaGezgini_e2e.ts +++ b/web/src/engine/websites/MangaGezgini_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaGo_e2e.ts b/web/src/engine/websites/MangaGo_e2e.ts index 31605414d0..1272649986 100644 --- a/web/src/engine/websites/MangaGo_e2e.ts +++ b/web/src/engine/websites/MangaGo_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaHack_e2e.ts b/web/src/engine/websites/MangaHack_e2e.ts index 91fe35bc4b..1fffc30c3f 100644 --- a/web/src/engine/websites/MangaHack_e2e.ts +++ b/web/src/engine/websites/MangaHack_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaHasu_e2e.ts b/web/src/engine/websites/MangaHasu_e2e.ts index f3c8a4036b..65cf54bfeb 100644 --- a/web/src/engine/websites/MangaHasu_e2e.ts +++ b/web/src/engine/websites/MangaHasu_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaHentai_e2e.ts b/web/src/engine/websites/MangaHentai_e2e.ts index 289ae04254..cdf60f056b 100755 --- a/web/src/engine/websites/MangaHentai_e2e.ts +++ b/web/src/engine/websites/MangaHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaHere_e2e.ts b/web/src/engine/websites/MangaHere_e2e.ts index 055a367301..e5734372cb 100644 --- a/web/src/engine/websites/MangaHere_e2e.ts +++ b/web/src/engine/websites/MangaHere_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaHot_e2e.ts b/web/src/engine/websites/MangaHot_e2e.ts index 5f0b3ab87a..e33121f0c5 100644 --- a/web/src/engine/websites/MangaHot_e2e.ts +++ b/web/src/engine/websites/MangaHot_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaHubFR_e2e.ts b/web/src/engine/websites/MangaHubFR_e2e.ts index e0d4f08e7e..6e39f90af9 100644 --- a/web/src/engine/websites/MangaHubFR_e2e.ts +++ b/web/src/engine/websites/MangaHubFR_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -24,5 +23,4 @@ const config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaHubRU_e2e.ts b/web/src/engine/websites/MangaHubRU_e2e.ts index 5cc3569ea2..2c4802d12d 100644 --- a/web/src/engine/websites/MangaHubRU_e2e.ts +++ b/web/src/engine/websites/MangaHubRU_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaID_e2e.ts b/web/src/engine/websites/MangaID_e2e.ts index 588da850a2..00e7eb8383 100644 --- a/web/src/engine/websites/MangaID_e2e.ts +++ b/web/src/engine/websites/MangaID_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaIro_e2e.ts b/web/src/engine/websites/MangaIro_e2e.ts index 155802d545..23f65a38a1 100644 --- a/web/src/engine/websites/MangaIro_e2e.ts +++ b/web/src/engine/websites/MangaIro_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaItalia_e2e.ts b/web/src/engine/websites/MangaItalia_e2e.ts index ba428751cf..9bbde552b0 100644 --- a/web/src/engine/websites/MangaItalia_e2e.ts +++ b/web/src/engine/websites/MangaItalia_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaKakalot_e2e.ts b/web/src/engine/websites/MangaKakalot_e2e.ts index 3323a636af..e65e22ac8a 100644 --- a/web/src/engine/websites/MangaKakalot_e2e.ts +++ b/web/src/engine/websites/MangaKakalot_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const fixture = new TestFixture({ +new TestFixture({ plugin: { id: 'mangakakalot', title: 'MangaKakalot' @@ -20,5 +19,4 @@ const fixture = new TestFixture({ size: 2_216_516, type: 'image/jpeg' } -}); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaKatana_e2e.ts b/web/src/engine/websites/MangaKatana_e2e.ts index 245ab009d7..e8074758fe 100644 --- a/web/src/engine/websites/MangaKatana_e2e.ts +++ b/web/src/engine/websites/MangaKatana_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaKawaii_e2e.ts b/web/src/engine/websites/MangaKawaii_e2e.ts index 3cadbd95fa..c83512ba55 100644 --- a/web/src/engine/websites/MangaKawaii_e2e.ts +++ b/web/src/engine/websites/MangaKawaii_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -24,5 +23,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaKings_e2e.ts b/web/src/engine/websites/MangaKings_e2e.ts index 80ee711605..da003f502b 100644 --- a/web/src/engine/websites/MangaKings_e2e.ts +++ b/web/src/engine/websites/MangaKings_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaKiss_e2e.ts b/web/src/engine/websites/MangaKiss_e2e.ts index e9fbe00c02..eae3cdd5c7 100755 --- a/web/src/engine/websites/MangaKiss_e2e.ts +++ b/web/src/engine/websites/MangaKiss_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaKita_e2e.ts b/web/src/engine/websites/MangaKita_e2e.ts index 20bee565d9..2b28b2cc66 100644 --- a/web/src/engine/websites/MangaKita_e2e.ts +++ b/web/src/engine/websites/MangaKita_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaKomi_e2e.ts b/web/src/engine/websites/MangaKomi_e2e.ts index 90f37526a0..16fb3a70fb 100755 --- a/web/src/engine/websites/MangaKomi_e2e.ts +++ b/web/src/engine/websites/MangaKomi_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaLib_e2e.ts b/web/src/engine/websites/MangaLib_e2e.ts index e2f503a72f..e7966cdad9 100644 --- a/web/src/engine/websites/MangaLib_e2e.ts +++ b/web/src/engine/websites/MangaLib_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaLife_e2e.ts b/web/src/engine/websites/MangaLife_e2e.ts index 65782fe990..0ab60b09e6 100644 --- a/web/src/engine/websites/MangaLife_e2e.ts +++ b/web/src/engine/websites/MangaLife_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaLike_e2e.ts b/web/src/engine/websites/MangaLike_e2e.ts index dd9e1ca007..1d608de793 100755 --- a/web/src/engine/websites/MangaLike_e2e.ts +++ b/web/src/engine/websites/MangaLike_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaLink_e2e.ts b/web/src/engine/websites/MangaLink_e2e.ts index 16ded0a359..a29c585790 100644 --- a/web/src/engine/websites/MangaLink_e2e.ts +++ b/web/src/engine/websites/MangaLink_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaLover_e2e.ts b/web/src/engine/websites/MangaLover_e2e.ts index fbc14b6bd5..5a7d3da14c 100755 --- a/web/src/engine/websites/MangaLover_e2e.ts +++ b/web/src/engine/websites/MangaLover_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaMana_e2e.ts b/web/src/engine/websites/MangaMana_e2e.ts index 26518ca004..9a33fe09f6 100644 --- a/web/src/engine/websites/MangaMana_e2e.ts +++ b/web/src/engine/websites/MangaMana_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaMonarca_e2e.ts b/web/src/engine/websites/MangaMonarca_e2e.ts index e5623b1eb9..6d831fd98e 100755 --- a/web/src/engine/websites/MangaMonarca_e2e.ts +++ b/web/src/engine/websites/MangaMonarca_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaMovil_e2e.ts b/web/src/engine/websites/MangaMovil_e2e.ts index 3c76523a83..18ccfdeba4 100644 --- a/web/src/engine/websites/MangaMovil_e2e.ts +++ b/web/src/engine/websites/MangaMovil_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaNato_e2e.ts b/web/src/engine/websites/MangaNato_e2e.ts index 4e2fdf0ac9..c057a373db 100644 --- a/web/src/engine/websites/MangaNato_e2e.ts +++ b/web/src/engine/websites/MangaNato_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const fixtureSameSite = new TestFixture({ +// CASE: Same-Site +new TestFixture({ plugin: { id: 'manganato', title: 'Manganato' @@ -20,10 +20,10 @@ const fixtureSameSite = new TestFixture({ size: 364_983, type: 'image/jpeg' } -}); -describe(fixtureSameSite.Name, async () => (await fixtureSameSite.Connect()).AssertWebsite()); +}).AssertWebsite(); -const fixtureCrossSite = new TestFixture({ +// CASE: Cross-Domain +new TestFixture({ plugin: { id: 'manganato', title: 'Manganato' @@ -42,5 +42,4 @@ const fixtureCrossSite = new TestFixture({ size: 94_319, type: 'image/jpeg' } -}); -describe(fixtureCrossSite.Name, async () => (await fixtureCrossSite.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaOkuTR_e2e.ts b/web/src/engine/websites/MangaOkuTR_e2e.ts index b8b91283d4..435122b3e2 100644 --- a/web/src/engine/websites/MangaOkuTR_e2e.ts +++ b/web/src/engine/websites/MangaOkuTR_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaOni_e2e.ts b/web/src/engine/websites/MangaOni_e2e.ts index 858544c5b8..a5c3a8c726 100644 --- a/web/src/engine/websites/MangaOni_e2e.ts +++ b/web/src/engine/websites/MangaOni_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { type: 'image/webp' }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaOnlineTeam_e2e.ts b/web/src/engine/websites/MangaOnlineTeam_e2e.ts index 287bea8cd9..dc77a971a9 100644 --- a/web/src/engine/websites/MangaOnlineTeam_e2e.ts +++ b/web/src/engine/websites/MangaOnlineTeam_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaOnline_e2e.ts b/web/src/engine/websites/MangaOnline_e2e.ts index f3af7ff2fd..f993d62e40 100644 --- a/web/src/engine/websites/MangaOnline_e2e.ts +++ b/web/src/engine/websites/MangaOnline_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaOwlio_e2e.ts b/web/src/engine/websites/MangaOwlio_e2e.ts index 3d193e8d0f..ee6bc4b7e4 100644 --- a/web/src/engine/websites/MangaOwlio_e2e.ts +++ b/web/src/engine/websites/MangaOwlio_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaPanda_e2e.ts b/web/src/engine/websites/MangaPanda_e2e.ts index 49b467036f..25e5d40fa3 100644 --- a/web/src/engine/websites/MangaPanda_e2e.ts +++ b/web/src/engine/websites/MangaPanda_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const fixture = new TestFixture({ +new TestFixture({ plugin: { id: 'mangapanda', title: 'MangaPanda' @@ -20,5 +19,4 @@ const fixture = new TestFixture({ size: 120_950, type: 'image/webp', } -}); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaParkPublisher_e2e.ts b/web/src/engine/websites/MangaParkPublisher_e2e.ts index 8c3e6a6bd9..3bae183184 100644 --- a/web/src/engine/websites/MangaParkPublisher_e2e.ts +++ b/web/src/engine/websites/MangaParkPublisher_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaPill_e2e.ts b/web/src/engine/websites/MangaPill_e2e.ts index 8ad25e4bcc..8a2c44bbee 100644 --- a/web/src/engine/websites/MangaPill_e2e.ts +++ b/web/src/engine/websites/MangaPill_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaPro_e2e.ts b/web/src/engine/websites/MangaPro_e2e.ts index ef668ec51a..6c57d27b63 100644 --- a/web/src/engine/websites/MangaPro_e2e.ts +++ b/web/src/engine/websites/MangaPro_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaRaw1001_e2e.ts b/web/src/engine/websites/MangaRaw1001_e2e.ts index 8c70838f26..4336c83fcc 100644 --- a/web/src/engine/websites/MangaRaw1001_e2e.ts +++ b/web/src/engine/websites/MangaRaw1001_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaRawAC_e2e.ts b/web/src/engine/websites/MangaRawAC_e2e.ts index 885eac9c0c..2ecb2d6fff 100644 --- a/web/src/engine/websites/MangaRawAC_e2e.ts +++ b/web/src/engine/websites/MangaRawAC_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const mangaID = encodeURI('/manga/呪術廻戦-raw-free/').toLowerCase(); const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaReadCO_e2e.ts b/web/src/engine/websites/MangaReadCO_e2e.ts index f45a068e23..edecf38e51 100755 --- a/web/src/engine/websites/MangaReadCO_e2e.ts +++ b/web/src/engine/websites/MangaReadCO_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaRead_e2e.ts b/web/src/engine/websites/MangaRead_e2e.ts index 707710f788..f2e4991f28 100755 --- a/web/src/engine/websites/MangaRead_e2e.ts +++ b/web/src/engine/websites/MangaRead_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaReaderTo_e2e.ts b/web/src/engine/websites/MangaReaderTo_e2e.ts index 949d2255a3..fa229868a4 100644 --- a/web/src/engine/websites/MangaReaderTo_e2e.ts +++ b/web/src/engine/websites/MangaReaderTo_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configVolumes = { +new TestFixture({ plugin: { id: 'mangareaderto', title: 'MangaReader.to' @@ -20,12 +19,9 @@ const configVolumes = { size: 1_040_238, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureVolumes = new TestFixture(configVolumes); -describe(fixtureVolumes.Name, async () => (await fixtureVolumes.Connect()).AssertWebsite()); - -const configChapters = { +new TestFixture({ plugin: { id: 'mangareaderto', title: 'MangaReader.to' @@ -44,7 +40,4 @@ const configChapters = { size: 972_221, type: 'image/png' } -}; - -const fixtureChapters = new TestFixture(configChapters); -describe(fixtureChapters.Name, async () => (await fixtureChapters.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaReader_e2e.ts b/web/src/engine/websites/MangaReader_e2e.ts index b141cd8d9a..7b98fa0098 100644 --- a/web/src/engine/websites/MangaReader_e2e.ts +++ b/web/src/engine/websites/MangaReader_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaRockTeam_e2e.ts b/web/src/engine/websites/MangaRockTeam_e2e.ts index 9a23fb34bf..101cb58929 100755 --- a/web/src/engine/websites/MangaRockTeam_e2e.ts +++ b/web/src/engine/websites/MangaRockTeam_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaRomance_e2e.ts b/web/src/engine/websites/MangaRomance_e2e.ts index 91857a8b3b..b953e143fb 100644 --- a/web/src/engine/websites/MangaRomance_e2e.ts +++ b/web/src/engine/websites/MangaRomance_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaRose_e2e.ts b/web/src/engine/websites/MangaRose_e2e.ts index 8c968d670b..26d3646ab7 100755 --- a/web/src/engine/websites/MangaRose_e2e.ts +++ b/web/src/engine/websites/MangaRose_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaRuhu_e2e.ts b/web/src/engine/websites/MangaRuhu_e2e.ts index 4cfa2f909d..9d0dfabca6 100644 --- a/web/src/engine/websites/MangaRuhu_e2e.ts +++ b/web/src/engine/websites/MangaRuhu_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSail_e2e.ts b/web/src/engine/websites/MangaSail_e2e.ts index 2548bcebf4..74cda51cde 100644 --- a/web/src/engine/websites/MangaSail_e2e.ts +++ b/web/src/engine/websites/MangaSail_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -26,5 +25,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaScantrad_e2e.ts b/web/src/engine/websites/MangaScantrad_e2e.ts index 93dbe316f4..e4cf595c36 100755 --- a/web/src/engine/websites/MangaScantrad_e2e.ts +++ b/web/src/engine/websites/MangaScantrad_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -24,5 +23,4 @@ const config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSect_e2e.ts b/web/src/engine/websites/MangaSect_e2e.ts index 8963696240..209b6e106c 100644 --- a/web/src/engine/websites/MangaSect_e2e.ts +++ b/web/src/engine/websites/MangaSect_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSee_e2e.ts b/web/src/engine/websites/MangaSee_e2e.ts index 458f141166..bf499e258a 100644 --- a/web/src/engine/websites/MangaSee_e2e.ts +++ b/web/src/engine/websites/MangaSee_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSefiri_e2e.ts b/web/src/engine/websites/MangaSefiri_e2e.ts index 07c4421d9d..d9bed3500a 100644 --- a/web/src/engine/websites/MangaSefiri_e2e.ts +++ b/web/src/engine/websites/MangaSefiri_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSehriNet_e2e.ts b/web/src/engine/websites/MangaSehriNet_e2e.ts index 85232b8d19..5d4e1bc6f4 100644 --- a/web/src/engine/websites/MangaSehriNet_e2e.ts +++ b/web/src/engine/websites/MangaSehriNet_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSehri_e2e.ts b/web/src/engine/websites/MangaSehri_e2e.ts index 04e7a807e8..ad976064d4 100755 --- a/web/src/engine/websites/MangaSehri_e2e.ts +++ b/web/src/engine/websites/MangaSehri_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaShip_e2e.ts b/web/src/engine/websites/MangaShip_e2e.ts index fac184c9c6..a29d05a3d2 100644 --- a/web/src/engine/websites/MangaShip_e2e.ts +++ b/web/src/engine/websites/MangaShip_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSiginagi_e2e.ts b/web/src/engine/websites/MangaSiginagi_e2e.ts index 1f0a95c60d..3e5f0dfc52 100644 --- a/web/src/engine/websites/MangaSiginagi_e2e.ts +++ b/web/src/engine/websites/MangaSiginagi_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaStarz_e2e.ts b/web/src/engine/websites/MangaStarz_e2e.ts index 585229ffd6..9fa33cd3c2 100755 --- a/web/src/engine/websites/MangaStarz_e2e.ts +++ b/web/src/engine/websites/MangaStarz_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSushi_e2e.ts b/web/src/engine/websites/MangaSushi_e2e.ts index 01cfd162b1..09e3713dd3 100755 --- a/web/src/engine/websites/MangaSushi_e2e.ts +++ b/web/src/engine/websites/MangaSushi_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSusuku_e2e.ts b/web/src/engine/websites/MangaSusuku_e2e.ts index 0812605190..9cd011a7ad 100644 --- a/web/src/engine/websites/MangaSusuku_e2e.ts +++ b/web/src/engine/websites/MangaSusuku_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaSwat_e2e.ts b/web/src/engine/websites/MangaSwat_e2e.ts index a92d84ca16..4836195350 100644 --- a/web/src/engine/websites/MangaSwat_e2e.ts +++ b/web/src/engine/websites/MangaSwat_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTRNet_e2e.ts b/web/src/engine/websites/MangaTRNet_e2e.ts index cb6bbffd5e..455cf6075b 100644 --- a/web/src/engine/websites/MangaTRNet_e2e.ts +++ b/web/src/engine/websites/MangaTRNet_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTX_e2e.ts b/web/src/engine/websites/MangaTX_e2e.ts index d78038a3ba..134cef5d35 100644 --- a/web/src/engine/websites/MangaTX_e2e.ts +++ b/web/src/engine/websites/MangaTX_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTales_e2e.ts b/web/src/engine/websites/MangaTales_e2e.ts index a894cf426f..ce42332e86 100644 --- a/web/src/engine/websites/MangaTales_e2e.ts +++ b/web/src/engine/websites/MangaTales_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTepesi_e2e.ts b/web/src/engine/websites/MangaTepesi_e2e.ts index ea31d1db25..044124f010 100644 --- a/web/src/engine/websites/MangaTepesi_e2e.ts +++ b/web/src/engine/websites/MangaTepesi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTilkisi_e2e.ts b/web/src/engine/websites/MangaTilkisi_e2e.ts index d5f52910fa..328597f982 100644 --- a/web/src/engine/websites/MangaTilkisi_e2e.ts +++ b/web/src/engine/websites/MangaTilkisi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTitan_e2e.ts b/web/src/engine/websites/MangaTitan_e2e.ts index ae6cb23fd7..071f420b5e 100755 --- a/web/src/engine/websites/MangaTitan_e2e.ts +++ b/web/src/engine/websites/MangaTitan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTown_e2e.ts b/web/src/engine/websites/MangaTown_e2e.ts index df75ad42c5..cedfb77d5c 100644 --- a/web/src/engine/websites/MangaTown_e2e.ts +++ b/web/src/engine/websites/MangaTown_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configMultiPage: Config = { +new TestFixture({ plugin: { id: 'mangatown', title: 'MangaTown', @@ -20,12 +19,9 @@ const configMultiPage: Config = { size: 236_152, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureMultiPage = new TestFixture(configMultiPage); -describe(fixtureMultiPage.Name, async () => (await fixtureMultiPage.Connect()).AssertWebsite()); - -const configSinglePage: Config = { +new TestFixture({ plugin: { id: 'mangatown', title: 'MangaTown', @@ -44,7 +40,4 @@ const configSinglePage: Config = { size: 205_356, type: 'image/jpeg' } -}; - -const fixtureSinglePage = new TestFixture(configSinglePage); -describe(fixtureSinglePage.Name, async () => (await fixtureSinglePage.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaTube_e2e.ts b/web/src/engine/websites/MangaTube_e2e.ts index c9aae1806a..c72c79ad2d 100644 --- a/web/src/engine/websites/MangaTube_e2e.ts +++ b/web/src/engine/websites/MangaTube_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaUpGlobal_e2e.ts b/web/src/engine/websites/MangaUpGlobal_e2e.ts index a8ad3de564..b4c3b92c8b 100644 --- a/web/src/engine/websites/MangaUpGlobal_e2e.ts +++ b/web/src/engine/websites/MangaUpGlobal_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaWOW_e2e.ts b/web/src/engine/websites/MangaWOW_e2e.ts index 7d5881fb66..17686c3f6f 100755 --- a/web/src/engine/websites/MangaWOW_e2e.ts +++ b/web/src/engine/websites/MangaWOW_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaWT_e2e.ts b/web/src/engine/websites/MangaWT_e2e.ts index 4173978a85..171671568f 100755 --- a/web/src/engine/websites/MangaWT_e2e.ts +++ b/web/src/engine/websites/MangaWT_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaWorldAdult_e2e.ts b/web/src/engine/websites/MangaWorldAdult_e2e.ts index 5e9a68de37..92deb35fbb 100644 --- a/web/src/engine/websites/MangaWorldAdult_e2e.ts +++ b/web/src/engine/websites/MangaWorldAdult_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangaWorld_e2e.ts b/web/src/engine/websites/MangaWorld_e2e.ts index bbc454aa9c..2f44723b51 100644 --- a/web/src/engine/websites/MangaWorld_e2e.ts +++ b/web/src/engine/websites/MangaWorld_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangabox_e2e.ts b/web/src/engine/websites/Mangabox_e2e.ts index 449c1c404a..e07c582279 100644 --- a/web/src/engine/websites/Mangabox_e2e.ts +++ b/web/src/engine/websites/Mangabox_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangacim_e2e.ts b/web/src/engine/websites/Mangacim_e2e.ts index 163f7ba3e0..a96454c714 100755 --- a/web/src/engine/websites/Mangacim_e2e.ts +++ b/web/src/engine/websites/Mangacim_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangadon_e2e.ts b/web/src/engine/websites/Mangadon_e2e.ts index 1f779a0637..c7adf37e01 100644 --- a/web/src/engine/websites/Mangadon_e2e.ts +++ b/web/src/engine/websites/Mangadon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangajp_e2e.ts b/web/src/engine/websites/Mangajp_e2e.ts index 76e734b81d..e29f4ba019 100644 --- a/web/src/engine/websites/Mangajp_e2e.ts +++ b/web/src/engine/websites/Mangajp_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangakyo_e2e.ts b/web/src/engine/websites/Mangakyo_e2e.ts index 8a001b973f..c358e61f40 100644 --- a/web/src/engine/websites/Mangakyo_e2e.ts +++ b/web/src/engine/websites/Mangakyo_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangalek_e2e.ts b/web/src/engine/websites/Mangalek_e2e.ts index 8369ced691..3126cd1620 100755 --- a/web/src/engine/websites/Mangalek_e2e.ts +++ b/web/src/engine/websites/Mangalek_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangasOrigines_e2e.ts b/web/src/engine/websites/MangasOrigines_e2e.ts index c32c3a5ed1..334c6651e9 100755 --- a/web/src/engine/websites/MangasOrigines_e2e.ts +++ b/web/src/engine/websites/MangasOrigines_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -24,5 +23,4 @@ const config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MangasScans_e2e.ts b/web/src/engine/websites/MangasScans_e2e.ts index 9d6b2ea382..7b6bec8cb2 100644 --- a/web/src/engine/websites/MangasScans_e2e.ts +++ b/web/src/engine/websites/MangasScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangatellers_e2e.ts b/web/src/engine/websites/Mangatellers_e2e.ts index 9d3de7a6cf..50ddb0d8fc 100644 --- a/web/src/engine/websites/Mangatellers_e2e.ts +++ b/web/src/engine/websites/Mangatellers_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangayaro_e2e.ts b/web/src/engine/websites/Mangayaro_e2e.ts index 7736bbceeb..26ff1c9e91 100644 --- a/web/src/engine/websites/Mangayaro_e2e.ts +++ b/web/src/engine/websites/Mangayaro_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangaz_e2e.ts b/web/src/engine/websites/Mangaz_e2e.ts index 734976a7e3..1c7466ce47 100644 --- a/web/src/engine/websites/Mangaz_e2e.ts +++ b/web/src/engine/websites/Mangaz_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mangazure_e2e.ts b/web/src/engine/websites/Mangazure_e2e.ts index 33c8c9501f..585518b3f2 100644 --- a/web/src/engine/websites/Mangazure_e2e.ts +++ b/web/src/engine/websites/Mangazure_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaAZ_e2e.ts b/web/src/engine/websites/ManhuaAZ_e2e.ts index f8ec0010dd..c37bd1a8b4 100644 --- a/web/src/engine/websites/ManhuaAZ_e2e.ts +++ b/web/src/engine/websites/ManhuaAZ_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaFastNet_e2e.ts b/web/src/engine/websites/ManhuaFastNet_e2e.ts index 86fc134ddb..c17fb02e94 100644 --- a/web/src/engine/websites/ManhuaFastNet_e2e.ts +++ b/web/src/engine/websites/ManhuaFastNet_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaFast_e2e.ts b/web/src/engine/websites/ManhuaFast_e2e.ts index 752e726154..b233517270 100755 --- a/web/src/engine/websites/ManhuaFast_e2e.ts +++ b/web/src/engine/websites/ManhuaFast_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaGold_e2e.ts b/web/src/engine/websites/ManhuaGold_e2e.ts index 788fd61761..c22f5a8280 100644 --- a/web/src/engine/websites/ManhuaGold_e2e.ts +++ b/web/src/engine/websites/ManhuaGold_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaHot_e2e.ts b/web/src/engine/websites/ManhuaHot_e2e.ts index 000da09788..8f263a1fd6 100644 --- a/web/src/engine/websites/ManhuaHot_e2e.ts +++ b/web/src/engine/websites/ManhuaHot_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaNext_e2e.ts b/web/src/engine/websites/ManhuaNext_e2e.ts index 6eeb302038..2dadc0777e 100644 --- a/web/src/engine/websites/ManhuaNext_e2e.ts +++ b/web/src/engine/websites/ManhuaNext_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaPlus_e2e.ts b/web/src/engine/websites/ManhuaPlus_e2e.ts index 344d40b816..c948eea379 100755 --- a/web/src/engine/websites/ManhuaPlus_e2e.ts +++ b/web/src/engine/websites/ManhuaPlus_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhuaUs_e2e.ts b/web/src/engine/websites/ManhuaUs_e2e.ts index 1ae9e01a5d..2d9c41f330 100755 --- a/web/src/engine/websites/ManhuaUs_e2e.ts +++ b/web/src/engine/websites/ManhuaUs_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhuaga_e2e.ts b/web/src/engine/websites/Manhuaga_e2e.ts index 7bb0f8f068..f4007420cf 100755 --- a/web/src/engine/websites/Manhuaga_e2e.ts +++ b/web/src/engine/websites/Manhuaga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhuaren_e2e.ts b/web/src/engine/websites/Manhuaren_e2e.ts index 02a864d84f..6c00bc4b22 100644 --- a/web/src/engine/websites/Manhuaren_e2e.ts +++ b/web/src/engine/websites/Manhuaren_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhuass._e2e.ts b/web/src/engine/websites/Manhuass._e2e.ts index 72f98bd8e2..6ef89114c2 100644 --- a/web/src/engine/websites/Manhuass._e2e.ts +++ b/web/src/engine/websites/Manhuass._e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhwa18_e2e.ts b/web/src/engine/websites/Manhwa18_e2e.ts index 309a390a78..76c933492b 100644 --- a/web/src/engine/websites/Manhwa18_e2e.ts +++ b/web/src/engine/websites/Manhwa18_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhwa18cc_e2e.ts b/web/src/engine/websites/Manhwa18cc_e2e.ts index b92b40cd5c..3fca30df73 100644 --- a/web/src/engine/websites/Manhwa18cc_e2e.ts +++ b/web/src/engine/websites/Manhwa18cc_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhwa68_e2e.ts b/web/src/engine/websites/Manhwa68_e2e.ts index fa0d5a5e9e..b0478e3ceb 100644 --- a/web/src/engine/websites/Manhwa68_e2e.ts +++ b/web/src/engine/websites/Manhwa68_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaClub_e2e.ts b/web/src/engine/websites/ManhwaClub_e2e.ts index 20edb9e05c..d9a52d531a 100644 --- a/web/src/engine/websites/ManhwaClub_e2e.ts +++ b/web/src/engine/websites/ManhwaClub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaDashRaw_e2e.ts b/web/src/engine/websites/ManhwaDashRaw_e2e.ts index 40f0a407ba..8e8c3cfcc7 100644 --- a/web/src/engine/websites/ManhwaDashRaw_e2e.ts +++ b/web/src/engine/websites/ManhwaDashRaw_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaEighteen_e2e.ts b/web/src/engine/websites/ManhwaEighteen_e2e.ts index 662d87de09..bc120f0b9d 100644 --- a/web/src/engine/websites/ManhwaEighteen_e2e.ts +++ b/web/src/engine/websites/ManhwaEighteen_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaHentaiMe_e2e.ts b/web/src/engine/websites/ManhwaHentaiMe_e2e.ts index 162b14f39c..183f6a7882 100755 --- a/web/src/engine/websites/ManhwaHentaiMe_e2e.ts +++ b/web/src/engine/websites/ManhwaHentaiMe_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaHentai_e2e.ts b/web/src/engine/websites/ManhwaHentai_e2e.ts index 2ba2471e58..88e17ae711 100755 --- a/web/src/engine/websites/ManhwaHentai_e2e.ts +++ b/web/src/engine/websites/ManhwaHentai_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaHub_e2e.ts b/web/src/engine/websites/ManhwaHub_e2e.ts index 5f2d4434c6..1036c5c68d 100644 --- a/web/src/engine/websites/ManhwaHub_e2e.ts +++ b/web/src/engine/websites/ManhwaHub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaIndo_e2e.ts b/web/src/engine/websites/ManhwaIndo_e2e.ts index 39697b0628..67f62b7893 100644 --- a/web/src/engine/websites/ManhwaIndo_e2e.ts +++ b/web/src/engine/websites/ManhwaIndo_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaLatino_e2e.ts b/web/src/engine/websites/ManhwaLatino_e2e.ts index 6f299e34ba..17fd7b59cb 100755 --- a/web/src/engine/websites/ManhwaLatino_e2e.ts +++ b/web/src/engine/websites/ManhwaLatino_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaList_e2e.ts b/web/src/engine/websites/ManhwaList_e2e.ts index 7f6891e5c6..94f4da99cd 100644 --- a/web/src/engine/websites/ManhwaList_e2e.ts +++ b/web/src/engine/websites/ManhwaList_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaRaw_e2e.ts b/web/src/engine/websites/ManhwaRaw_e2e.ts index bf29c3ea4d..28a77f03ad 100755 --- a/web/src/engine/websites/ManhwaRaw_e2e.ts +++ b/web/src/engine/websites/ManhwaRaw_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaTop_e2e.ts b/web/src/engine/websites/ManhwaTop_e2e.ts index b4b72fa248..88e6e8d126 100755 --- a/web/src/engine/websites/ManhwaTop_e2e.ts +++ b/web/src/engine/websites/ManhwaTop_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwaWeb_e2e.ts b/web/src/engine/websites/ManhwaWeb_e2e.ts index f4c0473c5d..f01676855e 100644 --- a/web/src/engine/websites/ManhwaWeb_e2e.ts +++ b/web/src/engine/websites/ManhwaWeb_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhwaclan_e2e.ts b/web/src/engine/websites/Manhwaclan_e2e.ts index fa21b837af..8a941ee393 100644 --- a/web/src/engine/websites/Manhwaclan_e2e.ts +++ b/web/src/engine/websites/Manhwaclan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhwaland_e2e.ts b/web/src/engine/websites/Manhwaland_e2e.ts index 2a8e658729..c8cc32b2f1 100644 --- a/web/src/engine/websites/Manhwaland_e2e.ts +++ b/web/src/engine/websites/Manhwaland_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwasMen_e2e.ts b/web/src/engine/websites/ManhwasMen_e2e.ts index 6256c61df7..9064ee74af 100644 --- a/web/src/engine/websites/ManhwasMen_e2e.ts +++ b/web/src/engine/websites/ManhwasMen_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -24,5 +23,4 @@ const config: Config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManhwasNet_e2e.ts b/web/src/engine/websites/ManhwasNet_e2e.ts index d0a376c292..553c8824ac 100644 --- a/web/src/engine/websites/ManhwasNet_e2e.ts +++ b/web/src/engine/websites/ManhwasNet_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manhwax_e2e.ts b/web/src/engine/websites/Manhwax_e2e.ts index ac92cf9cd6..0af55f2942 100644 --- a/web/src/engine/websites/Manhwax_e2e.ts +++ b/web/src/engine/websites/Manhwax_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Manjanoon_e2e.ts b/web/src/engine/websites/Manjanoon_e2e.ts index 59f058cbdf..ed4bf36801 100644 --- a/web/src/engine/websites/Manjanoon_e2e.ts +++ b/web/src/engine/websites/Manjanoon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManmanApp_e2e.ts b/web/src/engine/websites/ManmanApp_e2e.ts index 0899c7ec46..37e6957755 100644 --- a/web/src/engine/websites/ManmanApp_e2e.ts +++ b/web/src/engine/websites/ManmanApp_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManyToonCOM_e2e.ts b/web/src/engine/websites/ManyToonCOM_e2e.ts index 54d94565cd..b96d8a882f 100755 --- a/web/src/engine/websites/ManyToonCOM_e2e.ts +++ b/web/src/engine/websites/ManyToonCOM_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManyToonKR_e2e.ts b/web/src/engine/websites/ManyToonKR_e2e.ts index 987ecb1762..a3f061c5c3 100755 --- a/web/src/engine/websites/ManyToonKR_e2e.ts +++ b/web/src/engine/websites/ManyToonKR_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ManyToon_e2e.ts b/web/src/engine/websites/ManyToon_e2e.ts index 49530053f3..a19e1d4eb7 100755 --- a/web/src/engine/websites/ManyToon_e2e.ts +++ b/web/src/engine/websites/ManyToon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MaviManga_e2e.ts b/web/src/engine/websites/MaviManga_e2e.ts index 6d503507cd..9230a79ed1 100644 --- a/web/src/engine/websites/MaviManga_e2e.ts +++ b/web/src/engine/websites/MaviManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MechaComic_e2e.ts b/web/src/engine/websites/MechaComic_e2e.ts index 8b7fefb624..3302a90344 100644 --- a/web/src/engine/websites/MechaComic_e2e.ts +++ b/web/src/engine/websites/MechaComic_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MenudoFansub_e2e.ts b/web/src/engine/websites/MenudoFansub_e2e.ts index 7c7bd46e05..38add35bea 100644 --- a/web/src/engine/websites/MenudoFansub_e2e.ts +++ b/web/src/engine/websites/MenudoFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MeowSubs_e2e.ts b/web/src/engine/websites/MeowSubs_e2e.ts index ac463ff4c2..8c810360f5 100644 --- a/web/src/engine/websites/MeowSubs_e2e.ts +++ b/web/src/engine/websites/MeowSubs_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MerlinScans_e2e.ts b/web/src/engine/websites/MerlinScans_e2e.ts index 2640dd8b3c..e9dc026c24 100644 --- a/web/src/engine/websites/MerlinScans_e2e.ts +++ b/web/src/engine/websites/MerlinScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mgkomik_e2e.ts b/web/src/engine/websites/Mgkomik_e2e.ts index 63c28622f0..398660588f 100755 --- a/web/src/engine/websites/Mgkomik_e2e.ts +++ b/web/src/engine/websites/Mgkomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mi2mangaES_e2e.ts b/web/src/engine/websites/Mi2mangaES_e2e.ts index d07f23871b..f8872c223b 100644 --- a/web/src/engine/websites/Mi2mangaES_e2e.ts +++ b/web/src/engine/websites/Mi2mangaES_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MiauScan_e2e.ts b/web/src/engine/websites/MiauScan_e2e.ts index 4f2d885a2f..302b2d7902 100644 --- a/web/src/engine/websites/MiauScan_e2e.ts +++ b/web/src/engine/websites/MiauScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Migudm_e2e.ts b/web/src/engine/websites/Migudm_e2e.ts index 9241a24f54..8f1fa772b2 100644 --- a/web/src/engine/websites/Migudm_e2e.ts +++ b/web/src/engine/websites/Migudm_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -25,5 +24,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Mikoroku_e2e.ts b/web/src/engine/websites/Mikoroku_e2e.ts index 8d6ae7a4b0..a17ff3a946 100644 --- a/web/src/engine/websites/Mikoroku_e2e.ts +++ b/web/src/engine/websites/Mikoroku_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MilaSub_e2e.ts b/web/src/engine/websites/MilaSub_e2e.ts index 42e13fab98..acacb23154 100644 --- a/web/src/engine/websites/MilaSub_e2e.ts +++ b/web/src/engine/websites/MilaSub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MilfToon_e2e.ts b/web/src/engine/websites/MilfToon_e2e.ts index 3d9c9f4fde..5e829373c9 100755 --- a/web/src/engine/websites/MilfToon_e2e.ts +++ b/web/src/engine/websites/MilfToon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MindaFanSub_e2e.ts b/web/src/engine/websites/MindaFanSub_e2e.ts index 00fba9ea9f..c465798484 100644 --- a/web/src/engine/websites/MindaFanSub_e2e.ts +++ b/web/src/engine/websites/MindaFanSub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MiniTwoScan_e2e.ts b/web/src/engine/websites/MiniTwoScan_e2e.ts index 9e27d6ad5a..6e3f6fa7ba 100755 --- a/web/src/engine/websites/MiniTwoScan_e2e.ts +++ b/web/src/engine/websites/MiniTwoScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ModeScanlator_e2e.ts b/web/src/engine/websites/ModeScanlator_e2e.ts index d66d1ee990..9a4a8e6bb3 100644 --- a/web/src/engine/websites/ModeScanlator_e2e.ts +++ b/web/src/engine/websites/ModeScanlator_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MonoManga_e2e.ts b/web/src/engine/websites/MonoManga_e2e.ts index e76b778320..69705bfa6f 100755 --- a/web/src/engine/websites/MonoManga_e2e.ts +++ b/web/src/engine/websites/MonoManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MonochromeScans_e2e.ts b/web/src/engine/websites/MonochromeScans_e2e.ts index 5745ef21c6..66fe4059b1 100644 --- a/web/src/engine/websites/MonochromeScans_e2e.ts +++ b/web/src/engine/websites/MonochromeScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MonzeeKomik_e2e.ts b/web/src/engine/websites/MonzeeKomik_e2e.ts index a4aff26bef..1b418570be 100644 --- a/web/src/engine/websites/MonzeeKomik_e2e.ts +++ b/web/src/engine/websites/MonzeeKomik_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MrYaoi_e2e.ts b/web/src/engine/websites/MrYaoi_e2e.ts index 8d8dfb5822..3edaf8fd59 100644 --- a/web/src/engine/websites/MrYaoi_e2e.ts +++ b/web/src/engine/websites/MrYaoi_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MultPorn_e2e.ts b/web/src/engine/websites/MultPorn_e2e.ts index 1c690a991f..0b47fa8072 100644 --- a/web/src/engine/websites/MultPorn_e2e.ts +++ b/web/src/engine/websites/MultPorn_e2e.ts @@ -1,8 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -//user paste a "manga" link -const configManga = { +// user paste a "manga" link +new TestFixture({ plugin: { id: 'multporn', title: 'MultPorn' @@ -22,13 +21,10 @@ const configManga = { size: 619_504, type: 'image/png' } -}; +}).AssertWebsite(); -const fixtureManga = new TestFixture(configManga); -describe(fixtureManga.Name, async () => (await fixtureManga.Connect()).AssertWebsite()); - -//user directly paste a "chapter" link -const configChapter = { +// user directly paste a "chapter" link +new TestFixture({ plugin: { id: 'multporn', title: 'MultPorn' @@ -48,7 +44,4 @@ const configChapter = { size: 619_504, type: 'image/png' } -}; - -const fixtureChapter = new TestFixture(configChapter); -describe(fixtureChapter.Name, async () => (await fixtureChapter.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MundoManhwa_e2e.ts b/web/src/engine/websites/MundoManhwa_e2e.ts index 8d02aa4667..daf63d3711 100644 --- a/web/src/engine/websites/MundoManhwa_e2e.ts +++ b/web/src/engine/websites/MundoManhwa_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MyComicList_e2e.ts b/web/src/engine/websites/MyComicList_e2e.ts index 757c286e80..58dcdd7184 100644 --- a/web/src/engine/websites/MyComicList_e2e.ts +++ b/web/src/engine/websites/MyComicList_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/MyHentaiGallery_e2e.ts b/web/src/engine/websites/MyHentaiGallery_e2e.ts index f9889e3bf8..16748d28f1 100644 --- a/web/src/engine/websites/MyHentaiGallery_e2e.ts +++ b/web/src/engine/websites/MyHentaiGallery_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NHentaiCom_e2e.ts b/web/src/engine/websites/NHentaiCom_e2e.ts index 8963942bb1..331da965e4 100644 --- a/web/src/engine/websites/NHentaiCom_e2e.ts +++ b/web/src/engine/websites/NHentaiCom_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NHentai_e2e.ts b/web/src/engine/websites/NHentai_e2e.ts index dc22d6e0b6..55f1ab1096 100644 --- a/web/src/engine/websites/NHentai_e2e.ts +++ b/web/src/engine/websites/NHentai_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NamiComi_e2e.ts b/web/src/engine/websites/NamiComi_e2e.ts index 6bb3e26e0e..cdc4ef9577 100644 --- a/web/src/engine/websites/NamiComi_e2e.ts +++ b/web/src/engine/websites/NamiComi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NatsuID_e2e.ts b/web/src/engine/websites/NatsuID_e2e.ts index 0b545b8a61..ae875f60eb 100644 --- a/web/src/engine/websites/NatsuID_e2e.ts +++ b/web/src/engine/websites/NatsuID_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NecroScans_e2e.ts b/web/src/engine/websites/NecroScans_e2e.ts index ebe0a6f043..60e9e841d1 100644 --- a/web/src/engine/websites/NecroScans_e2e.ts +++ b/web/src/engine/websites/NecroScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Neroxus_e2e.ts b/web/src/engine/websites/Neroxus_e2e.ts index 1366f6b92a..b8bd69fc8d 100644 --- a/web/src/engine/websites/Neroxus_e2e.ts +++ b/web/src/engine/websites/Neroxus_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NetComics_e2e.ts b/web/src/engine/websites/NetComics_e2e.ts index 384ef31ecd..779935d904 100644 --- a/web/src/engine/websites/NetComics_e2e.ts +++ b/web/src/engine/websites/NetComics_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const frenchconfig = { +// CASE: French Locale +new TestFixture({ plugin: { id: 'netcomics', title: 'NetComics' @@ -20,12 +20,10 @@ const frenchconfig = { size: 120_912, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const frenchfixture = new TestFixture(frenchconfig); -describe(frenchfixture.Name, () => frenchfixture.AssertWebsite()); - -const englishconfig = { +// CASE: English Locale +new TestFixture({ plugin: { id: 'netcomics', title: 'NetComics' @@ -44,7 +42,4 @@ const englishconfig = { size: 118_616, type: 'image/jpeg' } -}; - -const englishfixture = new TestFixture(englishconfig); -describe(englishfixture.Name, () => englishfixture.AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NeuManga_e2e.ts b/web/src/engine/websites/NeuManga_e2e.ts index ad092bd9aa..8cbcacf4f1 100644 --- a/web/src/engine/websites/NeuManga_e2e.ts +++ b/web/src/engine/websites/NeuManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NewManhua_e2e.ts b/web/src/engine/websites/NewManhua_e2e.ts index 92a1cd1d2d..d98b2ecfe9 100644 --- a/web/src/engine/websites/NewManhua_e2e.ts +++ b/web/src/engine/websites/NewManhua_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Ngomik_e2e.ts b/web/src/engine/websites/Ngomik_e2e.ts index 4a3cb85feb..67a1d37d12 100644 --- a/web/src/engine/websites/Ngomik_e2e.ts +++ b/web/src/engine/websites/Ngomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NiceOppai_e2e.ts b/web/src/engine/websites/NiceOppai_e2e.ts index 3d3241a4cb..f9b1108a88 100644 --- a/web/src/engine/websites/NiceOppai_e2e.ts +++ b/web/src/engine/websites/NiceOppai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NicoNicoSeiga_e2e.ts b/web/src/engine/websites/NicoNicoSeiga_e2e.ts index b391207702..7475c06a36 100644 --- a/web/src/engine/websites/NicoNicoSeiga_e2e.ts +++ b/web/src/engine/websites/NicoNicoSeiga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NightScans_e2e.ts b/web/src/engine/websites/NightScans_e2e.ts index 98735ac3d9..eb1f8a3109 100644 --- a/web/src/engine/websites/NightScans_e2e.ts +++ b/web/src/engine/websites/NightScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Nightow_e2e.ts b/web/src/engine/websites/Nightow_e2e.ts index 96db78df38..177300bfed 100644 --- a/web/src/engine/websites/Nightow_e2e.ts +++ b/web/src/engine/websites/Nightow_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NijiTranslations_e2e.ts b/web/src/engine/websites/NijiTranslations_e2e.ts index 9a4afd1a2f..27c8806e55 100755 --- a/web/src/engine/websites/NijiTranslations_e2e.ts +++ b/web/src/engine/websites/NijiTranslations_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NineHentai_e2e.ts b/web/src/engine/websites/NineHentai_e2e.ts index ea7766ca2f..3a256bb38b 100644 --- a/web/src/engine/websites/NineHentai_e2e.ts +++ b/web/src/engine/websites/NineHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -24,5 +23,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NirvanaManga_e2e.ts b/web/src/engine/websites/NirvanaManga_e2e.ts index 585f2fef1f..673b1c0df7 100644 --- a/web/src/engine/websites/NirvanaManga_e2e.ts +++ b/web/src/engine/websites/NirvanaManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NitroManga_e2e.ts b/web/src/engine/websites/NitroManga_e2e.ts index 924412937e..6e0ca1de34 100644 --- a/web/src/engine/websites/NitroManga_e2e.ts +++ b/web/src/engine/websites/NitroManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NiveraFansub_e2e.ts b/web/src/engine/websites/NiveraFansub_e2e.ts index d3e23367ab..7779e55f3f 100755 --- a/web/src/engine/websites/NiveraFansub_e2e.ts +++ b/web/src/engine/websites/NiveraFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NocturneSummer_e2e.ts b/web/src/engine/websites/NocturneSummer_e2e.ts index 571d716a5d..9fb9a7ba48 100644 --- a/web/src/engine/websites/NocturneSummer_e2e.ts +++ b/web/src/engine/websites/NocturneSummer_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NoraNoFansub_e2e.ts b/web/src/engine/websites/NoraNoFansub_e2e.ts index 93218c64cb..c10822dc17 100644 --- a/web/src/engine/websites/NoraNoFansub_e2e.ts +++ b/web/src/engine/websites/NoraNoFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Noromax_e2e.ts b/web/src/engine/websites/Noromax_e2e.ts index c9a4ad9436..7daf0db9a2 100644 --- a/web/src/engine/websites/Noromax_e2e.ts +++ b/web/src/engine/websites/Noromax_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NovelMic_e2e.ts b/web/src/engine/websites/NovelMic_e2e.ts index d3acb0cd08..a7f93f458a 100755 --- a/web/src/engine/websites/NovelMic_e2e.ts +++ b/web/src/engine/websites/NovelMic_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/NoxScans_e2e.ts b/web/src/engine/websites/NoxScans_e2e.ts index 3b724992c0..8b92ae35f6 100644 --- a/web/src/engine/websites/NoxScans_e2e.ts +++ b/web/src/engine/websites/NoxScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Nyrax_e2e.ts b/web/src/engine/websites/Nyrax_e2e.ts index 5252b1e2c8..9c8e9a7c18 100644 --- a/web/src/engine/websites/Nyrax_e2e.ts +++ b/web/src/engine/websites/Nyrax_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/OkToon_e2e.ts b/web/src/engine/websites/OkToon_e2e.ts index d3b0f60d00..e69175a34b 100644 --- a/web/src/engine/websites/OkToon_e2e.ts +++ b/web/src/engine/websites/OkToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/OlympusScanlation_e2e.ts b/web/src/engine/websites/OlympusScanlation_e2e.ts index 1164e4bab2..1d20ad7670 100755 --- a/web/src/engine/websites/OlympusScanlation_e2e.ts +++ b/web/src/engine/websites/OlympusScanlation_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/OnMangaMe_e2e.ts b/web/src/engine/websites/OnMangaMe_e2e.ts index 6a79b52b23..f89bfa091e 100644 --- a/web/src/engine/websites/OnMangaMe_e2e.ts +++ b/web/src/engine/websites/OnMangaMe_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Opiatoon_e2e.ts b/web/src/engine/websites/Opiatoon_e2e.ts index e21d5858ff..c65718db94 100755 --- a/web/src/engine/websites/Opiatoon_e2e.ts +++ b/web/src/engine/websites/Opiatoon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Oremanga_e2e.ts b/web/src/engine/websites/Oremanga_e2e.ts index d417947fd8..2c56a3504d 100644 --- a/web/src/engine/websites/Oremanga_e2e.ts +++ b/web/src/engine/websites/Oremanga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/OrigamiOrpheans_e2e.ts b/web/src/engine/websites/OrigamiOrpheans_e2e.ts index 09b7b32456..fa6148730f 100644 --- a/web/src/engine/websites/OrigamiOrpheans_e2e.ts +++ b/web/src/engine/websites/OrigamiOrpheans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Otsugami_e2e.ts b/web/src/engine/websites/Otsugami_e2e.ts index 37f7a05196..be7401b733 100644 --- a/web/src/engine/websites/Otsugami_e2e.ts +++ b/web/src/engine/websites/Otsugami_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/OurFeel_e2e.ts b/web/src/engine/websites/OurFeel_e2e.ts index 0bc4e02bd8..a9993c67dd 100644 --- a/web/src/engine/websites/OurFeel_e2e.ts +++ b/web/src/engine/websites/OurFeel_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PCNet_e2e.ts b/web/src/engine/websites/PCNet_e2e.ts index 5de7e0b196..9bcd0ef0f5 100644 --- a/web/src/engine/websites/PCNet_e2e.ts +++ b/web/src/engine/websites/PCNet_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PatiManga_e2e.ts b/web/src/engine/websites/PatiManga_e2e.ts index 26d63358b7..571055ddda 100644 --- a/web/src/engine/websites/PatiManga_e2e.ts +++ b/web/src/engine/websites/PatiManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PatyScans_e2e.ts b/web/src/engine/websites/PatyScans_e2e.ts index f72964d757..5074736959 100644 --- a/web/src/engine/websites/PatyScans_e2e.ts +++ b/web/src/engine/websites/PatyScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PawManga_e2e.ts b/web/src/engine/websites/PawManga_e2e.ts index d013027606..18f3b44527 100644 --- a/web/src/engine/websites/PawManga_e2e.ts +++ b/web/src/engine/websites/PawManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PeanuToon_e2e.ts b/web/src/engine/websites/PeanuToon_e2e.ts index 7c58791cd6..311967159b 100644 --- a/web/src/engine/websites/PeanuToon_e2e.ts +++ b/web/src/engine/websites/PeanuToon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PelaTeam_e2e.ts b/web/src/engine/websites/PelaTeam_e2e.ts index bbd035cc91..0d7d451dc1 100644 --- a/web/src/engine/websites/PelaTeam_e2e.ts +++ b/web/src/engine/websites/PelaTeam_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Penlab_e2e.ts b/web/src/engine/websites/Penlab_e2e.ts index b20687bbfe..b9b01d5946 100644 --- a/web/src/engine/websites/Penlab_e2e.ts +++ b/web/src/engine/websites/Penlab_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PhenixScans_e2e.ts b/web/src/engine/websites/PhenixScans_e2e.ts index d74e067009..34a98c7856 100644 --- a/web/src/engine/websites/PhenixScans_e2e.ts +++ b/web/src/engine/websites/PhenixScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PhoenixScansIT_e2e.ts b/web/src/engine/websites/PhoenixScansIT_e2e.ts index 0826365c00..ce1266dc19 100644 --- a/web/src/engine/websites/PhoenixScansIT_e2e.ts +++ b/web/src/engine/websites/PhoenixScansIT_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Piccoma_e2e.ts b/web/src/engine/websites/Piccoma_e2e.ts index 48a2447999..ed2c70a0cc 100755 --- a/web/src/engine/websites/Piccoma_e2e.ts +++ b/web/src/engine/websites/Piccoma_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const fixtureChapter = new TestFixture({ +// CASE: Provided in Chapters +new TestFixture({ plugin: { id: 'piccoma', title: 'Piccoma' @@ -20,10 +20,10 @@ const fixtureChapter = new TestFixture({ size: 531_180, type: 'image/png' } */ -}); -describe(fixtureChapter.Name, () => fixtureChapter.AssertWebsite()); +}).AssertWebsite(); -const fixtureVolume = new TestFixture({ +// CASE: Provided in Volumes +new TestFixture({ plugin: { id: 'piccoma', title: 'Piccoma' @@ -42,5 +42,4 @@ const fixtureVolume = new TestFixture({ size: 1_012_662, type: 'image/png' } */ -}); -describe(fixtureVolume.Name, () => fixtureVolume.AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PiedPiper_e2e.ts b/web/src/engine/websites/PiedPiper_e2e.ts index add18afe32..b4f084116a 100755 --- a/web/src/engine/websites/PiedPiper_e2e.ts +++ b/web/src/engine/websites/PiedPiper_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PijamaliKoi_e2e.ts b/web/src/engine/websites/PijamaliKoi_e2e.ts index b0474262b3..cddbe1f038 100644 --- a/web/src/engine/websites/PijamaliKoi_e2e.ts +++ b/web/src/engine/websites/PijamaliKoi_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PinkSeaUnicorn_e2e.ts b/web/src/engine/websites/PinkSeaUnicorn_e2e.ts index 91e6893e24..7e72453b7d 100644 --- a/web/src/engine/websites/PinkSeaUnicorn_e2e.ts +++ b/web/src/engine/websites/PinkSeaUnicorn_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PixivComics_e2e.ts b/web/src/engine/websites/PixivComics_e2e.ts index 2890cfb19d..1d81762a21 100644 --- a/web/src/engine/websites/PixivComics_e2e.ts +++ b/web/src/engine/websites/PixivComics_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PlatinumScans_e2e.ts b/web/src/engine/websites/PlatinumScans_e2e.ts index 91e228ce4f..7e5a1f779b 100755 --- a/web/src/engine/websites/PlatinumScans_e2e.ts +++ b/web/src/engine/websites/PlatinumScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PocketComics_e2e.ts b/web/src/engine/websites/PocketComics_e2e.ts index 98f376b1cc..ba8a5f9018 100644 --- a/web/src/engine/websites/PocketComics_e2e.ts +++ b/web/src/engine/websites/PocketComics_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configEnglish: Config = { +// CASE: English Locale +new TestFixture({ plugin: { id: 'pocketcomics', title: 'Pocket-Comics (コミコ)', @@ -23,12 +23,10 @@ const configEnglish: Config = { size: 114_618, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureEnglish = new TestFixture(configEnglish); -describe(fixtureEnglish.Name, () => fixtureEnglish.AssertWebsite()); - -const configFrench: Config = { +// CASE: French Locale +new TestFixture({ plugin: { id: 'pocketcomics', title: 'Pocket-Comics (コミコ)', @@ -50,7 +48,4 @@ const configFrench: Config = { size: 105_584, type: 'image/jpeg' } -}; - -const fixtureFrench = new TestFixture(configFrench); -describe(fixtureFrench.Name, () => fixtureFrench.AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PojokManga_e2e.ts b/web/src/engine/websites/PojokManga_e2e.ts index 3d892d487b..450a8d3c35 100755 --- a/web/src/engine/websites/PojokManga_e2e.ts +++ b/web/src/engine/websites/PojokManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PornComixOnline_e2e.ts b/web/src/engine/websites/PornComixOnline_e2e.ts index af6a511d9a..b28e13688c 100755 --- a/web/src/engine/websites/PornComixOnline_e2e.ts +++ b/web/src/engine/websites/PornComixOnline_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PornComix_e2e.ts b/web/src/engine/websites/PornComix_e2e.ts index f340f20d46..45da14e4d2 100644 --- a/web/src/engine/websites/PornComix_e2e.ts +++ b/web/src/engine/websites/PornComix_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/PortalYaoi_e2e.ts b/web/src/engine/websites/PortalYaoi_e2e.ts index 0b7f184480..9e595dc661 100644 --- a/web/src/engine/websites/PortalYaoi_e2e.ts +++ b/web/src/engine/websites/PortalYaoi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ProjectSuki_e2e.ts b/web/src/engine/websites/ProjectSuki_e2e.ts index 92fd36b00b..977acf6bcb 100644 --- a/web/src/engine/websites/ProjectSuki_e2e.ts +++ b/web/src/engine/websites/ProjectSuki_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Pzykosis666HFansub_e2e.ts b/web/src/engine/websites/Pzykosis666HFansub_e2e.ts index 7fb6af1460..bfbf2a15d4 100644 --- a/web/src/engine/websites/Pzykosis666HFansub_e2e.ts +++ b/web/src/engine/websites/Pzykosis666HFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Qimeitj_e2e.ts b/web/src/engine/websites/Qimeitj_e2e.ts index ab14e82658..85f0533149 100644 --- a/web/src/engine/websites/Qimeitj_e2e.ts +++ b/web/src/engine/websites/Qimeitj_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/QuantumScans_e2e.ts b/web/src/engine/websites/QuantumScans_e2e.ts index 3c9db90513..778874e67c 100644 --- a/web/src/engine/websites/QuantumScans_e2e.ts +++ b/web/src/engine/websites/QuantumScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Rackus_e2e.ts b/web/src/engine/websites/Rackus_e2e.ts index 89470cea5c..7893873796 100644 --- a/web/src/engine/websites/Rackus_e2e.ts +++ b/web/src/engine/websites/Rackus_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RadiantScans_e2e.ts b/web/src/engine/websites/RadiantScans_e2e.ts index 71aee9c06e..54da93ac99 100644 --- a/web/src/engine/websites/RadiantScans_e2e.ts +++ b/web/src/engine/websites/RadiantScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RaijinScans_e2e.ts b/web/src/engine/websites/RaijinScans_e2e.ts index bc3c618289..fa9722b4a7 100644 --- a/web/src/engine/websites/RaijinScans_e2e.ts +++ b/web/src/engine/websites/RaijinScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RaikiScan_e2e.ts b/web/src/engine/websites/RaikiScan_e2e.ts index 604813bd2d..2b278dd395 100644 --- a/web/src/engine/websites/RaikiScan_e2e.ts +++ b/web/src/engine/websites/RaikiScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RainDropFansub_e2e.ts b/web/src/engine/websites/RainDropFansub_e2e.ts index 1037c5a9cb..0e14202793 100644 --- a/web/src/engine/websites/RainDropFansub_e2e.ts +++ b/web/src/engine/websites/RainDropFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RainbowFairyScan_e2e.ts b/web/src/engine/websites/RainbowFairyScan_e2e.ts index 43c08bffe6..1b12828a89 100644 --- a/web/src/engine/websites/RainbowFairyScan_e2e.ts +++ b/web/src/engine/websites/RainbowFairyScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RavenScans_e2e.ts b/web/src/engine/websites/RavenScans_e2e.ts index 7ce0d2639d..cdc00d017a 100644 --- a/web/src/engine/websites/RavenScans_e2e.ts +++ b/web/src/engine/websites/RavenScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RavenSeries_e2e.ts b/web/src/engine/websites/RavenSeries_e2e.ts index 606ef933c5..b63f0601c5 100644 --- a/web/src/engine/websites/RavenSeries_e2e.ts +++ b/web/src/engine/websites/RavenSeries_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RavensScansEN_e2e.ts b/web/src/engine/websites/RavensScansEN_e2e.ts index 88c53b231f..4aa91b00ed 100644 --- a/web/src/engine/websites/RavensScansEN_e2e.ts +++ b/web/src/engine/websites/RavensScansEN_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -27,5 +26,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RavensScansES_e2e.ts b/web/src/engine/websites/RavensScansES_e2e.ts index 356c4ed8d9..7d9c3799c9 100644 --- a/web/src/engine/websites/RavensScansES_e2e.ts +++ b/web/src/engine/websites/RavensScansES_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -27,5 +26,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RawDevart_e2e.ts b/web/src/engine/websites/RawDevart_e2e.ts index 7824440942..7b0e0d23b5 100644 --- a/web/src/engine/websites/RawDevart_e2e.ts +++ b/web/src/engine/websites/RawDevart_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RawLazy_e2e.ts b/web/src/engine/websites/RawLazy_e2e.ts index 5d61aa1ea8..62fa2cce05 100644 --- a/web/src/engine/websites/RawLazy_e2e.ts +++ b/web/src/engine/websites/RawLazy_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RawMangatop_e2e.ts b/web/src/engine/websites/RawMangatop_e2e.ts index 56906c59e2..38dbd5a740 100644 --- a/web/src/engine/websites/RawMangatop_e2e.ts +++ b/web/src/engine/websites/RawMangatop_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RawOtaku_e2e.ts b/web/src/engine/websites/RawOtaku_e2e.ts index 87c4e7f5d5..8f9404bec0 100644 --- a/web/src/engine/websites/RawOtaku_e2e.ts +++ b/web/src/engine/websites/RawOtaku_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RawSenManga_e2e.ts b/web/src/engine/websites/RawSenManga_e2e.ts index 4adda29438..a70c6b00c5 100644 --- a/web/src/engine/websites/RawSenManga_e2e.ts +++ b/web/src/engine/websites/RawSenManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RawXZ_e2e.ts b/web/src/engine/websites/RawXZ_e2e.ts index f799f1dbc3..3a54cd4265 100644 --- a/web/src/engine/websites/RawXZ_e2e.ts +++ b/web/src/engine/websites/RawXZ_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const mangaID = encodeURI('/jp-manga/俺だけレベルアップな件/'); const config = { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Rawkuma_e2e.ts b/web/src/engine/websites/Rawkuma_e2e.ts index c818174aba..0552357083 100644 --- a/web/src/engine/websites/Rawkuma_e2e.ts +++ b/web/src/engine/websites/Rawkuma_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReadAllComics_e2e.ts b/web/src/engine/websites/ReadAllComics_e2e.ts index c041cb0aa6..4b6c8b01cc 100644 --- a/web/src/engine/websites/ReadAllComics_e2e.ts +++ b/web/src/engine/websites/ReadAllComics_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReadComicOnline_e2e.ts b/web/src/engine/websites/ReadComicOnline_e2e.ts index b33803123b..aa80d4be13 100644 --- a/web/src/engine/websites/ReadComicOnline_e2e.ts +++ b/web/src/engine/websites/ReadComicOnline_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReadComicsOnline_e2e.ts b/web/src/engine/websites/ReadComicsOnline_e2e.ts index a3fed91551..eb9f5b8a76 100644 --- a/web/src/engine/websites/ReadComicsOnline_e2e.ts +++ b/web/src/engine/websites/ReadComicsOnline_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReadFreeComics_e2e.ts b/web/src/engine/websites/ReadFreeComics_e2e.ts index b5d70af4f3..85f8188ce5 100755 --- a/web/src/engine/websites/ReadFreeComics_e2e.ts +++ b/web/src/engine/websites/ReadFreeComics_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReadKomik_e2e.ts b/web/src/engine/websites/ReadKomik_e2e.ts index 08947ff412..c02c197142 100644 --- a/web/src/engine/websites/ReadKomik_e2e.ts +++ b/web/src/engine/websites/ReadKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReadManga_e2e.ts b/web/src/engine/websites/ReadManga_e2e.ts index b0f08ec780..3302a06134 100644 --- a/web/src/engine/websites/ReadManga_e2e.ts +++ b/web/src/engine/websites/ReadManga_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configLongStrip: Config = { +new TestFixture({ plugin: { id: 'readmanga', title: 'ReadManga' @@ -20,12 +19,9 @@ const configLongStrip: Config = { size: 950_618, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureLongStrip = new TestFixture(configLongStrip); -describe(fixtureLongStrip.Name, async () => (await fixtureLongStrip.Connect()).AssertWebsite()); - -const configMultiPage: Config = { +new TestFixture({ plugin: { id: 'readmanga', title: 'ReadManga' @@ -44,7 +40,4 @@ const configMultiPage: Config = { size: 554_563, type: 'image/png' } -}; - -const fixtureMultiPage = new TestFixture(configMultiPage); -describe(fixtureMultiPage.Name, async () => (await fixtureMultiPage.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReaperScansFR_e2e.ts b/web/src/engine/websites/ReaperScansFR_e2e.ts index 6ab17dd141..83a45d4f5a 100644 --- a/web/src/engine/websites/ReaperScansFR_e2e.ts +++ b/web/src/engine/websites/ReaperScansFR_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ReaperScans_e2e.ts b/web/src/engine/websites/ReaperScans_e2e.ts index f2b06cfb10..f2a6ed3f2f 100755 --- a/web/src/engine/websites/ReaperScans_e2e.ts +++ b/web/src/engine/websites/ReaperScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -25,5 +24,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Remangas_e2e.ts b/web/src/engine/websites/Remangas_e2e.ts index 0967311009..8b66b8a2e8 100644 --- a/web/src/engine/websites/Remangas_e2e.ts +++ b/web/src/engine/websites/Remangas_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ResetScans_e2e.ts b/web/src/engine/websites/ResetScans_e2e.ts index 0f4980da31..6c38f566cb 100755 --- a/web/src/engine/websites/ResetScans_e2e.ts +++ b/web/src/engine/websites/ResetScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Retsu_e2e.ts b/web/src/engine/websites/Retsu_e2e.ts index 41509f88a0..dbf2ad3dc0 100644 --- a/web/src/engine/websites/Retsu_e2e.ts +++ b/web/src/engine/websites/Retsu_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RidiBooks_e2e.ts b/web/src/engine/websites/RidiBooks_e2e.ts index 08f368ea98..bf9cf8b054 100644 --- a/web/src/engine/websites/RidiBooks_e2e.ts +++ b/web/src/engine/websites/RidiBooks_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RimuScans_e2e.ts b/web/src/engine/websites/RimuScans_e2e.ts index 7fa5e081eb..02c10c2a88 100644 --- a/web/src/engine/websites/RimuScans_e2e.ts +++ b/web/src/engine/websites/RimuScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Rio2Manga_e2e.ts b/web/src/engine/websites/Rio2Manga_e2e.ts index 40d421e144..6370c7fa3a 100644 --- a/web/src/engine/websites/Rio2Manga_e2e.ts +++ b/web/src/engine/websites/Rio2Manga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RizzComics_e2e.ts b/web/src/engine/websites/RizzComics_e2e.ts index 3ef5fde168..8edc492ee7 100644 --- a/web/src/engine/websites/RizzComics_e2e.ts +++ b/web/src/engine/websites/RizzComics_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RokuHentai_e2e.ts b/web/src/engine/websites/RokuHentai_e2e.ts index 5d7f0c9399..a7bb0734d0 100644 --- a/web/src/engine/websites/RokuHentai_e2e.ts +++ b/web/src/engine/websites/RokuHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RomantikManga_e2e.ts b/web/src/engine/websites/RomantikManga_e2e.ts index 0065ba6120..a5e163aaba 100755 --- a/web/src/engine/websites/RomantikManga_e2e.ts +++ b/web/src/engine/websites/RomantikManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RuManhua_e2e.ts b/web/src/engine/websites/RuManhua_e2e.ts index fce5dfb504..f3168c2315 100644 --- a/web/src/engine/websites/RuManhua_e2e.ts +++ b/web/src/engine/websites/RuManhua_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RudraScans_e2e.ts b/web/src/engine/websites/RudraScans_e2e.ts index 206a1fb686..84e7ec6040 100644 --- a/web/src/engine/websites/RudraScans_e2e.ts +++ b/web/src/engine/websites/RudraScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/RuyaManga_e2e.ts b/web/src/engine/websites/RuyaManga_e2e.ts index 2d9cd718e9..fa2c0a14cc 100644 --- a/web/src/engine/websites/RuyaManga_e2e.ts +++ b/web/src/engine/websites/RuyaManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/S2Manga_e2e.ts b/web/src/engine/websites/S2Manga_e2e.ts index acf5fa1b75..e428c9e595 100755 --- a/web/src/engine/websites/S2Manga_e2e.ts +++ b/web/src/engine/websites/S2Manga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SSSScanlator_e2e.ts b/web/src/engine/websites/SSSScanlator_e2e.ts index 4df8170f01..85ad3d96af 100644 --- a/web/src/engine/websites/SSSScanlator_e2e.ts +++ b/web/src/engine/websites/SSSScanlator_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Sadscans_e2e.ts b/web/src/engine/websites/Sadscans_e2e.ts index ff4801b049..2b41b9dc54 100644 --- a/web/src/engine/websites/Sadscans_e2e.ts +++ b/web/src/engine/websites/Sadscans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SakuraManga_e2e.ts b/web/src/engine/websites/SakuraManga_e2e.ts index c3bb5d9d1f..ae41c9325a 100644 --- a/web/src/engine/websites/SakuraManga_e2e.ts +++ b/web/src/engine/websites/SakuraManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SamuraiScan_e2e.ts b/web/src/engine/websites/SamuraiScan_e2e.ts index 59a2491c4a..d2a5702106 100755 --- a/web/src/engine/websites/SamuraiScan_e2e.ts +++ b/web/src/engine/websites/SamuraiScan_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Sany_e2e.ts b/web/src/engine/websites/Sany_e2e.ts index 1208b50f4a..8c39e23036 100644 --- a/web/src/engine/websites/Sany_e2e.ts +++ b/web/src/engine/websites/Sany_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SarcasmScans_e2e.ts b/web/src/engine/websites/SarcasmScans_e2e.ts index bc3ee2992e..4ce789c1d6 100644 --- a/web/src/engine/websites/SarcasmScans_e2e.ts +++ b/web/src/engine/websites/SarcasmScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ScamberTraslator_e2e.ts b/web/src/engine/websites/ScamberTraslator_e2e.ts index 455051b3ec..99df9a2a21 100755 --- a/web/src/engine/websites/ScamberTraslator_e2e.ts +++ b/web/src/engine/websites/ScamberTraslator_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ScanManga_e2e.ts b/web/src/engine/websites/ScanManga_e2e.ts index 62f94b8a3a..dc97f7caf4 100644 --- a/web/src/engine/websites/ScanManga_e2e.ts +++ b/web/src/engine/websites/ScanManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ScanTradUnion_e2e.ts b/web/src/engine/websites/ScanTradUnion_e2e.ts index 929597b000..1db3fc271e 100644 --- a/web/src/engine/websites/ScanTradUnion_e2e.ts +++ b/web/src/engine/websites/ScanTradUnion_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ScanVFOrg_e2e.ts b/web/src/engine/websites/ScanVFOrg_e2e.ts index 28c89bc7df..b56b18ecda 100644 --- a/web/src/engine/websites/ScanVFOrg_e2e.ts +++ b/web/src/engine/websites/ScanVFOrg_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ScanVF_e2e.ts b/web/src/engine/websites/ScanVF_e2e.ts index e2b328d8b8..57c945c696 100644 --- a/web/src/engine/websites/ScanVF_e2e.ts +++ b/web/src/engine/websites/ScanVF_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ScarManga_e2e.ts b/web/src/engine/websites/ScarManga_e2e.ts index b048554606..91a51bba3e 100644 --- a/web/src/engine/websites/ScarManga_e2e.ts +++ b/web/src/engine/websites/ScarManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ScyllaScans_e2e.ts b/web/src/engine/websites/ScyllaScans_e2e.ts index fa695c9954..fef8fbda66 100644 --- a/web/src/engine/websites/ScyllaScans_e2e.ts +++ b/web/src/engine/websites/ScyllaScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SectScans_e2e.ts b/web/src/engine/websites/SectScans_e2e.ts index cb0e7b2fb9..66339b374b 100644 --- a/web/src/engine/websites/SectScans_e2e.ts +++ b/web/src/engine/websites/SectScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SeinagiAdultoFansub_e2e.ts b/web/src/engine/websites/SeinagiAdultoFansub_e2e.ts index 7226543906..afb48e476d 100644 --- a/web/src/engine/websites/SeinagiAdultoFansub_e2e.ts +++ b/web/src/engine/websites/SeinagiAdultoFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SeinagiFansubEN_e2e.ts b/web/src/engine/websites/SeinagiFansubEN_e2e.ts index c42f723bf6..2204278f8d 100644 --- a/web/src/engine/websites/SeinagiFansubEN_e2e.ts +++ b/web/src/engine/websites/SeinagiFansubEN_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SeinagiFansubES_e2e.ts b/web/src/engine/websites/SeinagiFansubES_e2e.ts index f7a35f04f8..fb51a39106 100644 --- a/web/src/engine/websites/SeinagiFansubES_e2e.ts +++ b/web/src/engine/websites/SeinagiFansubES_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SekaiKomik_e2e.ts b/web/src/engine/websites/SekaiKomik_e2e.ts index 8b16e6520d..ed2cdcd2c5 100644 --- a/web/src/engine/websites/SekaiKomik_e2e.ts +++ b/web/src/engine/websites/SekaiKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SekteKomik_e2e.ts b/web/src/engine/websites/SekteKomik_e2e.ts index 2e52dda67b..cc661f8cad 100644 --- a/web/src/engine/websites/SekteKomik_e2e.ts +++ b/web/src/engine/websites/SekteKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SenManga_e2e.ts b/web/src/engine/websites/SenManga_e2e.ts index 3c629e9d5b..b3d35f8671 100644 --- a/web/src/engine/websites/SenManga_e2e.ts +++ b/web/src/engine/websites/SenManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SenpaiEdiciones_e2e.ts b/web/src/engine/websites/SenpaiEdiciones_e2e.ts index a3ad1305cf..eb67a1b776 100644 --- a/web/src/engine/websites/SenpaiEdiciones_e2e.ts +++ b/web/src/engine/websites/SenpaiEdiciones_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SeriManga_e2e.ts b/web/src/engine/websites/SeriManga_e2e.ts index bf395042a0..72885825c9 100644 --- a/web/src/engine/websites/SeriManga_e2e.ts +++ b/web/src/engine/websites/SeriManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SetsuScans_e2e.ts b/web/src/engine/websites/SetsuScans_e2e.ts index f7ca861955..1b60ac1a88 100755 --- a/web/src/engine/websites/SetsuScans_e2e.ts +++ b/web/src/engine/websites/SetsuScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Seven8te_e2e.ts b/web/src/engine/websites/Seven8te_e2e.ts index 6ead9cf175..5c482a2c26 100644 --- a/web/src/engine/websites/Seven8te_e2e.ts +++ b/web/src/engine/websites/Seven8te_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShadowMangas_e2e.ts b/web/src/engine/websites/ShadowMangas_e2e.ts index 08bfd84831..01c7901d6b 100644 --- a/web/src/engine/websites/ShadowMangas_e2e.ts +++ b/web/src/engine/websites/ShadowMangas_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SheepManga_e2e.ts b/web/src/engine/websites/SheepManga_e2e.ts index 98ee86e7cb..12f7d1d39a 100644 --- a/web/src/engine/websites/SheepManga_e2e.ts +++ b/web/src/engine/websites/SheepManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShijieScans_e2e.ts b/web/src/engine/websites/ShijieScans_e2e.ts index 1c2a69a113..5556a218ac 100644 --- a/web/src/engine/websites/ShijieScans_e2e.ts +++ b/web/src/engine/websites/ShijieScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShinigamiID_e2e.ts b/web/src/engine/websites/ShinigamiID_e2e.ts index 26cc2a85b2..3f4aadbedd 100644 --- a/web/src/engine/websites/ShinigamiID_e2e.ts +++ b/web/src/engine/websites/ShinigamiID_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Shirakami_e2e.ts b/web/src/engine/websites/Shirakami_e2e.ts index 4af4ba5b04..9705477af6 100644 --- a/web/src/engine/websites/Shirakami_e2e.ts +++ b/web/src/engine/websites/Shirakami_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShonenJumpPlus_e2e.ts b/web/src/engine/websites/ShonenJumpPlus_e2e.ts index 7764e94621..f56810c8dc 100644 --- a/web/src/engine/websites/ShonenJumpPlus_e2e.ts +++ b/web/src/engine/websites/ShonenJumpPlus_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShonenJumpRookie_e2e.ts b/web/src/engine/websites/ShonenJumpRookie_e2e.ts index 9820f3fa31..f8ce48f092 100644 --- a/web/src/engine/websites/ShonenJumpRookie_e2e.ts +++ b/web/src/engine/websites/ShonenJumpRookie_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShonenMagazine_e2e.ts b/web/src/engine/websites/ShonenMagazine_e2e.ts index b3c28b8dee..5666651705 100644 --- a/web/src/engine/websites/ShonenMagazine_e2e.ts +++ b/web/src/engine/websites/ShonenMagazine_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShootingStarScans_e2e.ts b/web/src/engine/websites/ShootingStarScans_e2e.ts index 663f0e04b1..b806ec6e72 100644 --- a/web/src/engine/websites/ShootingStarScans_e2e.ts +++ b/web/src/engine/websites/ShootingStarScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Shqqaa_e2e.ts b/web/src/engine/websites/Shqqaa_e2e.ts index 6f7854c472..404e03c279 100644 --- a/web/src/engine/websites/Shqqaa_e2e.ts +++ b/web/src/engine/websites/Shqqaa_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ShueishaMangaPlus_e2e.ts b/web/src/engine/websites/ShueishaMangaPlus_e2e.ts index 3ce644eec9..e0a0ea59b9 100644 --- a/web/src/engine/websites/ShueishaMangaPlus_e2e.ts +++ b/web/src/engine/websites/ShueishaMangaPlus_e2e.ts @@ -1,8 +1,6 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; - -const fixture = new TestFixture ({ +import { TestFixture } from '../../../test/WebsitesFixture'; +new TestFixture ({ plugin: { id: 'shueishamangaplus', title: 'MANGA Plus by Shueisha' @@ -21,5 +19,4 @@ const fixture = new TestFixture ({ size: 159_401, type: 'image/jpeg' } -}); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SiiManga_e2e.ts b/web/src/engine/websites/SiiManga_e2e.ts index 652dda3da8..4e80b2ab0c 100644 --- a/web/src/engine/websites/SiiManga_e2e.ts +++ b/web/src/engine/websites/SiiManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SilenceScan_e2e.ts b/web/src/engine/websites/SilenceScan_e2e.ts index 5db6fb5ba2..8752f07478 100644 --- a/web/src/engine/websites/SilenceScan_e2e.ts +++ b/web/src/engine/websites/SilenceScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SinensisScan_e2e.ts b/web/src/engine/websites/SinensisScan_e2e.ts index 5ada95cea8..07d59f7798 100755 --- a/web/src/engine/websites/SinensisScan_e2e.ts +++ b/web/src/engine/websites/SinensisScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SirenKomik_e2e.ts b/web/src/engine/websites/SirenKomik_e2e.ts index 64cd713f98..d08f9c1bd4 100644 --- a/web/src/engine/websites/SirenKomik_e2e.ts +++ b/web/src/engine/websites/SirenKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SixParkbbsClub_e2e.ts b/web/src/engine/websites/SixParkbbsClub_e2e.ts index 6b87699553..d5e5d84803 100644 --- a/web/src/engine/websites/SixParkbbsClub_e2e.ts +++ b/web/src/engine/websites/SixParkbbsClub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SixParkbbsWeb_e2e.ts b/web/src/engine/websites/SixParkbbsWeb_e2e.ts index bb1b7066e2..b8a7936898 100644 --- a/web/src/engine/websites/SixParkbbsWeb_e2e.ts +++ b/web/src/engine/websites/SixParkbbsWeb_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SkyManga_e2e.ts b/web/src/engine/websites/SkyManga_e2e.ts index e9a8c9c517..dc87f98648 100644 --- a/web/src/engine/websites/SkyManga_e2e.ts +++ b/web/src/engine/websites/SkyManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SkyMangas_e2e.ts b/web/src/engine/websites/SkyMangas_e2e.ts index bbec0ea1dc..4f99888f46 100644 --- a/web/src/engine/websites/SkyMangas_e2e.ts +++ b/web/src/engine/websites/SkyMangas_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SoftKomik_e2e.ts b/web/src/engine/websites/SoftKomik_e2e.ts index 35fc3abc48..36774ee964 100644 --- a/web/src/engine/websites/SoftKomik_e2e.ts +++ b/web/src/engine/websites/SoftKomik_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SoulScans_e2e.ts b/web/src/engine/websites/SoulScans_e2e.ts index 38751a0050..50eab947e6 100644 --- a/web/src/engine/websites/SoulScans_e2e.ts +++ b/web/src/engine/websites/SoulScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SpiderScans_e2e.ts b/web/src/engine/websites/SpiderScans_e2e.ts index 0f9c91f04d..e36288c050 100644 --- a/web/src/engine/websites/SpiderScans_e2e.ts +++ b/web/src/engine/websites/SpiderScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SpoilerPlus_e2e.ts b/web/src/engine/websites/SpoilerPlus_e2e.ts index 7671cb4672..93e980e343 100644 --- a/web/src/engine/websites/SpoilerPlus_e2e.ts +++ b/web/src/engine/websites/SpoilerPlus_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/StarboundScans_e2e.ts b/web/src/engine/websites/StarboundScans_e2e.ts index 9e3ab73a92..e5216a2332 100644 --- a/web/src/engine/websites/StarboundScans_e2e.ts +++ b/web/src/engine/websites/StarboundScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/StellarSaber_e2e.ts b/web/src/engine/websites/StellarSaber_e2e.ts index d65b845619..10cc313dcb 100644 --- a/web/src/engine/websites/StellarSaber_e2e.ts +++ b/web/src/engine/websites/StellarSaber_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/StickHorse_e2e.ts b/web/src/engine/websites/StickHorse_e2e.ts index efd885adc8..d48a15ccac 100755 --- a/web/src/engine/websites/StickHorse_e2e.ts +++ b/web/src/engine/websites/StickHorse_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/StrayFansub_e2e.ts b/web/src/engine/websites/StrayFansub_e2e.ts index 94b39124b8..51a279ff30 100644 --- a/web/src/engine/websites/StrayFansub_e2e.ts +++ b/web/src/engine/websites/StrayFansub_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Submanga_e2e.ts b/web/src/engine/websites/Submanga_e2e.ts index e760c850e0..fdf0acba87 100644 --- a/web/src/engine/websites/Submanga_e2e.ts +++ b/web/src/engine/websites/Submanga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Sukima_e2e.ts b/web/src/engine/websites/Sukima_e2e.ts index 0200c35402..ffe625590f 100644 --- a/web/src/engine/websites/Sukima_e2e.ts +++ b/web/src/engine/websites/Sukima_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SumManga_e2e.ts b/web/src/engine/websites/SumManga_e2e.ts index 64d8b8f217..8ce9775608 100644 --- a/web/src/engine/websites/SumManga_e2e.ts +++ b/web/src/engine/websites/SumManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Summertoon_e2e.ts b/web/src/engine/websites/Summertoon_e2e.ts index 9e3e5a30dd..ba8ecc8d59 100644 --- a/web/src/engine/websites/Summertoon_e2e.ts +++ b/web/src/engine/websites/Summertoon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SundayWebry_e2e.ts b/web/src/engine/websites/SundayWebry_e2e.ts index e0791d7339..c1dcce51c4 100644 --- a/web/src/engine/websites/SundayWebry_e2e.ts +++ b/web/src/engine/websites/SundayWebry_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SushiScans_e2e.ts b/web/src/engine/websites/SushiScans_e2e.ts index 484e1e4768..aac44db3ac 100644 --- a/web/src/engine/websites/SushiScans_e2e.ts +++ b/web/src/engine/websites/SushiScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/SweetTimeScan_e2e.ts b/web/src/engine/websites/SweetTimeScan_e2e.ts index f883503539..b073cc57a7 100644 --- a/web/src/engine/websites/SweetTimeScan_e2e.ts +++ b/web/src/engine/websites/SweetTimeScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TCBScans_e2e.ts b/web/src/engine/websites/TCBScans_e2e.ts index 928ce348f7..33e98d1e8b 100644 --- a/web/src/engine/websites/TCBScans_e2e.ts +++ b/web/src/engine/websites/TCBScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TRWebtoon_e2e.ts b/web/src/engine/websites/TRWebtoon_e2e.ts index 13f4eb2dd1..671f1ac89f 100644 --- a/web/src/engine/websites/TRWebtoon_e2e.ts +++ b/web/src/engine/websites/TRWebtoon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Tapas_e2e.ts b/web/src/engine/websites/Tapas_e2e.ts index 6768b7e750..a566e0e4e3 100644 --- a/web/src/engine/websites/Tapas_e2e.ts +++ b/web/src/engine/websites/Tapas_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Tapread_e2e.ts b/web/src/engine/websites/Tapread_e2e.ts index 90904e26a1..c7cd529e6f 100644 --- a/web/src/engine/websites/Tapread_e2e.ts +++ b/web/src/engine/websites/Tapread_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TarotScans_e2e.ts b/web/src/engine/websites/TarotScans_e2e.ts index 741a02e518..f4f50eb585 100644 --- a/web/src/engine/websites/TarotScans_e2e.ts +++ b/web/src/engine/websites/TarotScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TatakaeScan_e2e.ts b/web/src/engine/websites/TatakaeScan_e2e.ts index 7af3dce47b..081ad40c5b 100755 --- a/web/src/engine/websites/TatakaeScan_e2e.ts +++ b/web/src/engine/websites/TatakaeScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Team1x1_e2e.ts b/web/src/engine/websites/Team1x1_e2e.ts index f2a332d36d..b86c24fa7e 100644 --- a/web/src/engine/websites/Team1x1_e2e.ts +++ b/web/src/engine/websites/Team1x1_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TecnoScan_e2e.ts b/web/src/engine/websites/TecnoScan_e2e.ts index e7d9abcd38..67c3c99af3 100644 --- a/web/src/engine/websites/TecnoScan_e2e.ts +++ b/web/src/engine/websites/TecnoScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TempestScans_e2e.ts b/web/src/engine/websites/TempestScans_e2e.ts index fc0b942af6..0f8412a854 100644 --- a/web/src/engine/websites/TempestScans_e2e.ts +++ b/web/src/engine/websites/TempestScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TempleScan_e2e.ts b/web/src/engine/websites/TempleScan_e2e.ts index ee3cec8a20..9887eac75a 100644 --- a/web/src/engine/websites/TempleScan_e2e.ts +++ b/web/src/engine/websites/TempleScan_e2e.ts @@ -1,7 +1,6 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; -const ComicConfig = { +const config = { plugin: { id: 'templescan', title: 'TempleScan' @@ -22,5 +21,4 @@ const ComicConfig = { } }; -const ComicFixture = new TestFixture(ComicConfig); -describe(ComicFixture.Name, async () => (await ComicFixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Tenkai_e2e.ts b/web/src/engine/websites/Tenkai_e2e.ts index 331830964f..d8b3bd194c 100644 --- a/web/src/engine/websites/Tenkai_e2e.ts +++ b/web/src/engine/websites/Tenkai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TenshiID_e2e.ts b/web/src/engine/websites/TenshiID_e2e.ts index cdb835f594..9e3f13aada 100644 --- a/web/src/engine/websites/TenshiID_e2e.ts +++ b/web/src/engine/websites/TenshiID_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TheBlank_e2e.ts b/web/src/engine/websites/TheBlank_e2e.ts index dc88f26b18..456bdaf398 100644 --- a/web/src/engine/websites/TheBlank_e2e.ts +++ b/web/src/engine/websites/TheBlank_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ThreeHentai_e2e.ts b/web/src/engine/websites/ThreeHentai_e2e.ts index 17b228c897..0708d89ff3 100644 --- a/web/src/engine/websites/ThreeHentai_e2e.ts +++ b/web/src/engine/websites/ThreeHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ThunderScans_e2e.ts b/web/src/engine/websites/ThunderScans_e2e.ts index 781fbedffc..46be9c8ebc 100644 --- a/web/src/engine/websites/ThunderScans_e2e.ts +++ b/web/src/engine/websites/ThunderScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TitanManga_e2e.ts b/web/src/engine/websites/TitanManga_e2e.ts index 2f9e571592..e06c21be3d 100644 --- a/web/src/engine/websites/TitanManga_e2e.ts +++ b/web/src/engine/websites/TitanManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TmoManga_e2e.ts b/web/src/engine/websites/TmoManga_e2e.ts index f1b2d202d7..600e29fda9 100644 --- a/web/src/engine/websites/TmoManga_e2e.ts +++ b/web/src/engine/websites/TmoManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ToCoronaEx_e2e.ts b/web/src/engine/websites/ToCoronaEx_e2e.ts index 9c05bff1d0..86e95d4765 100644 --- a/web/src/engine/websites/ToCoronaEx_e2e.ts +++ b/web/src/engine/websites/ToCoronaEx_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TonariNoYoungJump_e2e.ts b/web/src/engine/websites/TonariNoYoungJump_e2e.ts index 47eb91cd86..fdc9ba0944 100755 --- a/web/src/engine/websites/TonariNoYoungJump_e2e.ts +++ b/web/src/engine/websites/TonariNoYoungJump_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TonizuToon_e2e.ts b/web/src/engine/websites/TonizuToon_e2e.ts index 9500b46084..a929c32c87 100755 --- a/web/src/engine/websites/TonizuToon_e2e.ts +++ b/web/src/engine/websites/TonizuToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ToomTam_e2e.ts b/web/src/engine/websites/ToomTam_e2e.ts index 0d9bd33397..b9d43d1adf 100644 --- a/web/src/engine/websites/ToomTam_e2e.ts +++ b/web/src/engine/websites/ToomTam_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ToonGod_e2e.ts b/web/src/engine/websites/ToonGod_e2e.ts index 06db020ec0..3c5caf33ad 100755 --- a/web/src/engine/websites/ToonGod_e2e.ts +++ b/web/src/engine/websites/ToonGod_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -24,5 +23,4 @@ const config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Toonily_e2e.ts b/web/src/engine/websites/Toonily_e2e.ts index 84e569ec6b..21cfde923e 100644 --- a/web/src/engine/websites/Toonily_e2e.ts +++ b/web/src/engine/websites/Toonily_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TopComicPorno_e2e.ts b/web/src/engine/websites/TopComicPorno_e2e.ts index 5a47dc7901..a6cd6296b5 100755 --- a/web/src/engine/websites/TopComicPorno_e2e.ts +++ b/web/src/engine/websites/TopComicPorno_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TopManhuaNet_e2e.ts b/web/src/engine/websites/TopManhuaNet_e2e.ts index f78a5df804..c01dc491ea 100644 --- a/web/src/engine/websites/TopManhuaNet_e2e.ts +++ b/web/src/engine/websites/TopManhuaNet_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TopManhua_e2e.ts b/web/src/engine/websites/TopManhua_e2e.ts index 3057cdccb3..fb6ac19fb1 100755 --- a/web/src/engine/websites/TopManhua_e2e.ts +++ b/web/src/engine/websites/TopManhua_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TopToon_e2e.ts b/web/src/engine/websites/TopToon_e2e.ts index 498df864f9..6603e9d624 100644 --- a/web/src/engine/websites/TopToon_e2e.ts +++ b/web/src/engine/websites/TopToon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TortugaCeviri_e2e.ts b/web/src/engine/websites/TortugaCeviri_e2e.ts index baaf9b7999..c82a8e1685 100644 --- a/web/src/engine/websites/TortugaCeviri_e2e.ts +++ b/web/src/engine/websites/TortugaCeviri_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Toti_e2e.ts b/web/src/engine/websites/Toti_e2e.ts index 98fe7a064c..c5cd4598ae 100644 --- a/web/src/engine/websites/Toti_e2e.ts +++ b/web/src/engine/websites/Toti_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TraduccionesAmistosas_e2e.ts b/web/src/engine/websites/TraduccionesAmistosas_e2e.ts index a24d14cbe4..71cfd9e0da 100755 --- a/web/src/engine/websites/TraduccionesAmistosas_e2e.ts +++ b/web/src/engine/websites/TraduccionesAmistosas_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TraduccionesMoonlight_e2e.ts b/web/src/engine/websites/TraduccionesMoonlight_e2e.ts index 40f88d4db9..0f90e776bd 100644 --- a/web/src/engine/websites/TraduccionesMoonlight_e2e.ts +++ b/web/src/engine/websites/TraduccionesMoonlight_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TresDaos_e2e.ts b/web/src/engine/websites/TresDaos_e2e.ts index eb8a8cdbd7..ed54428323 100644 --- a/web/src/engine/websites/TresDaos_e2e.ts +++ b/web/src/engine/websites/TresDaos_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TritiniaScans_e2e.ts b/web/src/engine/websites/TritiniaScans_e2e.ts index c973f41a79..85962dfbfc 100755 --- a/web/src/engine/websites/TritiniaScans_e2e.ts +++ b/web/src/engine/websites/TritiniaScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TruyenGG_e2e.ts b/web/src/engine/websites/TruyenGG_e2e.ts index 41c70041a6..4d84a57844 100644 --- a/web/src/engine/websites/TruyenGG_e2e.ts +++ b/web/src/engine/websites/TruyenGG_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TruyenQQ_e2e.ts b/web/src/engine/websites/TruyenQQ_e2e.ts index 5556a34443..ec3616cd08 100644 --- a/web/src/engine/websites/TruyenQQ_e2e.ts +++ b/web/src/engine/websites/TruyenQQ_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TruyenTranhDammy_e2e.ts b/web/src/engine/websites/TruyenTranhDammy_e2e.ts index 08833387e1..c2a1b0e285 100644 --- a/web/src/engine/websites/TruyenTranhDammy_e2e.ts +++ b/web/src/engine/websites/TruyenTranhDammy_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TruyenTranhOnline_e2e.ts b/web/src/engine/websites/TruyenTranhOnline_e2e.ts index 28c42ae8ef..ed4d70ea79 100755 --- a/web/src/engine/websites/TruyenTranhOnline_e2e.ts +++ b/web/src/engine/websites/TruyenTranhOnline_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TruyenTranhtuan_e2e.ts b/web/src/engine/websites/TruyenTranhtuan_e2e.ts index 9a8ebdbf78..f800f662e7 100644 --- a/web/src/engine/websites/TruyenTranhtuan_e2e.ts +++ b/web/src/engine/websites/TruyenTranhtuan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TsukiMangas_e2e.ts b/web/src/engine/websites/TsukiMangas_e2e.ts index 75fe2492d1..d2732c3ff6 100644 --- a/web/src/engine/websites/TsukiMangas_e2e.ts +++ b/web/src/engine/websites/TsukiMangas_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Tsumino_e2e.ts b/web/src/engine/websites/Tsumino_e2e.ts index cc9e85aa80..8c3334da4a 100644 --- a/web/src/engine/websites/Tsumino_e2e.ts +++ b/web/src/engine/websites/Tsumino_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TuMangaNet_e2e.ts b/web/src/engine/websites/TuMangaNet_e2e.ts index 0966c56b59..69e9fa2491 100644 --- a/web/src/engine/websites/TuMangaNet_e2e.ts +++ b/web/src/engine/websites/TuMangaNet_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TuMangaOnlineHentai_e2e.ts b/web/src/engine/websites/TuMangaOnlineHentai_e2e.ts index ce8e591246..4df3397856 100644 --- a/web/src/engine/websites/TuMangaOnlineHentai_e2e.ts +++ b/web/src/engine/websites/TuMangaOnlineHentai_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TuMangaOnline_e2e.ts b/web/src/engine/websites/TuMangaOnline_e2e.ts index 771b005789..9e3d5164e4 100644 --- a/web/src/engine/websites/TuMangaOnline_e2e.ts +++ b/web/src/engine/websites/TuMangaOnline_e2e.ts @@ -1,52 +1,45 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configs: Config[] = [ - // CASE: Redirection - { - plugin: { - id: 'tumangaonline', - title: 'TuMangaOnline' - }, - container: { - url: 'https://zonatmo.com/library/manhwa/63944/enlanube', - id: '/library/manhwa/63944/enlanube', - title: 'En la nube' - }, - child: { - id: '/view_uploads/1408620', - title: 'Capítulo 97.00 [RE HOMOS SCAN] (es)' - }, - entry: { - index: 5, - size: 53_022, - type: 'image/webp' - } +// CASE: Redirection +new TestFixture({ + plugin: { + id: 'tumangaonline', + title: 'TuMangaOnline' }, - // CASE: Extraction - { - plugin: { - id: 'tumangaonline', - title: 'TuMangaOnline' - }, - container: { - url: 'https://zonatmo.com/library/manhwa/34395/pheromone-holic', - id: '/library/manhwa/34395/pheromone-holic', - title: 'Pheromone Holic' - }, - child: { - id: '/view_uploads/558145', - title: 'Capítulo 53.00 Adicta a la Feromona [FINAL] [Plot Twist No Fansub] (es)' - }, - entry: { - index: 1, - size: 149_946, - type: 'image/webp' - } + container: { + url: 'https://zonatmo.com/library/manhwa/63944/enlanube', + id: '/library/manhwa/63944/enlanube', + title: 'En la nube' + }, + child: { + id: '/view_uploads/1408620', + title: 'Capítulo 97.00 [RE HOMOS SCAN] (es)' + }, + entry: { + index: 5, + size: 53_022, + type: 'image/webp' } -]; +}).AssertWebsite(); -for(const config of configs) { - const fixture = new TestFixture(config); - describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); -} \ No newline at end of file +// CASE: Extraction +new TestFixture({ + plugin: { + id: 'tumangaonline', + title: 'TuMangaOnline' + }, + container: { + url: 'https://zonatmo.com/library/manhwa/34395/pheromone-holic', + id: '/library/manhwa/34395/pheromone-holic', + title: 'Pheromone Holic' + }, + child: { + id: '/view_uploads/558145', + title: 'Capítulo 53.00 Adicta a la Feromona [FINAL] [Plot Twist No Fansub] (es)' + }, + entry: { + index: 1, + size: 149_946, + type: 'image/webp' + } +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TuManhwas_e2e.ts b/web/src/engine/websites/TuManhwas_e2e.ts index d2aee04a2c..8d70d1a452 100644 --- a/web/src/engine/websites/TuManhwas_e2e.ts +++ b/web/src/engine/websites/TuManhwas_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -24,5 +23,4 @@ const config: Config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TukangKomik_e2e.ts b/web/src/engine/websites/TukangKomik_e2e.ts index a48194db00..8faaf7cdc8 100644 --- a/web/src/engine/websites/TukangKomik_e2e.ts +++ b/web/src/engine/websites/TukangKomik_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TurkManga_e2e.ts b/web/src/engine/websites/TurkManga_e2e.ts index 6c49d7f1b7..e579baf26e 100644 --- a/web/src/engine/websites/TurkManga_e2e.ts +++ b/web/src/engine/websites/TurkManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TurkceMangaOku_e2e.ts b/web/src/engine/websites/TurkceMangaOku_e2e.ts index 0d12ba6fa3..52c0ed18ab 100644 --- a/web/src/engine/websites/TurkceMangaOku_e2e.ts +++ b/web/src/engine/websites/TurkceMangaOku_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Turktoon_e2e.ts b/web/src/engine/websites/Turktoon_e2e.ts index c389b930b1..e906286103 100644 --- a/web/src/engine/websites/Turktoon_e2e.ts +++ b/web/src/engine/websites/Turktoon_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Tuttoanimemanga_e2e.ts b/web/src/engine/websites/Tuttoanimemanga_e2e.ts index 47c4f17a47..8b995d5e96 100644 --- a/web/src/engine/websites/Tuttoanimemanga_e2e.ts +++ b/web/src/engine/websites/Tuttoanimemanga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/TwoAnimx_e2e.ts b/web/src/engine/websites/TwoAnimx_e2e.ts index 88c5bca35e..ef6db8d5d4 100644 --- a/web/src/engine/websites/TwoAnimx_e2e.ts +++ b/web/src/engine/websites/TwoAnimx_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/UmeTruyen_e2e.ts b/web/src/engine/websites/UmeTruyen_e2e.ts index 2791ca8217..cd49f93420 100644 --- a/web/src/engine/websites/UmeTruyen_e2e.ts +++ b/web/src/engine/websites/UmeTruyen_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/UngTyComic_e2e.ts b/web/src/engine/websites/UngTyComic_e2e.ts index 1416153419..07a2430340 100644 --- a/web/src/engine/websites/UngTyComic_e2e.ts +++ b/web/src/engine/websites/UngTyComic_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/UraSunday_e2e.ts b/web/src/engine/websites/UraSunday_e2e.ts index 67a7068bd4..083307281f 100644 --- a/web/src/engine/websites/UraSunday_e2e.ts +++ b/web/src/engine/websites/UraSunday_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Usagi_e2e.ts b/web/src/engine/websites/Usagi_e2e.ts index 57fb097ff1..f95a3a4bc8 100644 --- a/web/src/engine/websites/Usagi_e2e.ts +++ b/web/src/engine/websites/Usagi_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configLongStrip: Config = { +// CASE: Single-Page Images +new TestFixture({ plugin: { id: 'usagi', title: 'Usagi' @@ -20,12 +20,10 @@ const configLongStrip: Config = { size: 950_618, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureLongStrip = new TestFixture(configLongStrip); -describe(fixtureLongStrip.Name, async () => (await fixtureLongStrip.Connect()).AssertWebsite()); - -const configMultiPage: Config = { +// CASE: Multi-Page Images +new TestFixture({ plugin: { id: 'usagi', title: 'Usagi' @@ -44,7 +42,4 @@ const configMultiPage: Config = { size: 554_563, type: 'image/png' } -}; - -const fixtureMultiPage = new TestFixture(configMultiPage); -describe(fixtureMultiPage.Name, async () => (await fixtureMultiPage.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Utoon_e2e.ts b/web/src/engine/websites/Utoon_e2e.ts index f17f60f225..30a00be6de 100644 --- a/web/src/engine/websites/Utoon_e2e.ts +++ b/web/src/engine/websites/Utoon_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/UzayManga_e2e.ts b/web/src/engine/websites/UzayManga_e2e.ts index 870b62366b..aafb57b9dc 100755 --- a/web/src/engine/websites/UzayManga_e2e.ts +++ b/web/src/engine/websites/UzayManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/VNSharing_e2e.ts b/web/src/engine/websites/VNSharing_e2e.ts index 74d8a4aeaf..d7ea7faefb 100644 --- a/web/src/engine/websites/VNSharing_e2e.ts +++ b/web/src/engine/websites/VNSharing_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ValkyrieScan_e2e.ts b/web/src/engine/websites/ValkyrieScan_e2e.ts index 511a7169ee..ce8cbc876f 100644 --- a/web/src/engine/websites/ValkyrieScan_e2e.ts +++ b/web/src/engine/websites/ValkyrieScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/VerComicsPorno_e2e.ts b/web/src/engine/websites/VerComicsPorno_e2e.ts index b295a19a72..988900d9dc 100644 --- a/web/src/engine/websites/VerComicsPorno_e2e.ts +++ b/web/src/engine/websites/VerComicsPorno_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/VerMangasPorno_e2e.ts b/web/src/engine/websites/VerMangasPorno_e2e.ts index f8bd6fe40d..771f1cfe39 100644 --- a/web/src/engine/websites/VerMangasPorno_e2e.ts +++ b/web/src/engine/websites/VerMangasPorno_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/VerManhwa_e2e.ts b/web/src/engine/websites/VerManhwa_e2e.ts index a44624fbda..9881ade0fa 100644 --- a/web/src/engine/websites/VerManhwa_e2e.ts +++ b/web/src/engine/websites/VerManhwa_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ViewComics_e2e.ts b/web/src/engine/websites/ViewComics_e2e.ts index 2a6fdd6716..46bde33f1b 100644 --- a/web/src/engine/websites/ViewComics_e2e.ts +++ b/web/src/engine/websites/ViewComics_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ViyaFansub_e2e.ts b/web/src/engine/websites/ViyaFansub_e2e.ts index 34c9ea719b..7b3b164e02 100644 --- a/web/src/engine/websites/ViyaFansub_e2e.ts +++ b/web/src/engine/websites/ViyaFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/VoidScans_e2e.ts b/web/src/engine/websites/VoidScans_e2e.ts index 4f06846375..a5a9fa8b65 100644 --- a/web/src/engine/websites/VoidScans_e2e.ts +++ b/web/src/engine/websites/VoidScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/VortexScans_e2e.ts b/web/src/engine/websites/VortexScans_e2e.ts index 1804440148..2f923f7b6f 100644 --- a/web/src/engine/websites/VortexScans_e2e.ts +++ b/web/src/engine/websites/VortexScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/VyManga_e2e.ts b/web/src/engine/websites/VyManga_e2e.ts index 51bd93e3c0..9928b08653 100644 --- a/web/src/engine/websites/VyManga_e2e.ts +++ b/web/src/engine/websites/VyManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebAce_e2e.ts b/web/src/engine/websites/WebAce_e2e.ts index aa95c4599e..460cc43613 100644 --- a/web/src/engine/websites/WebAce_e2e.ts +++ b/web/src/engine/websites/WebAce_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebComicsApp_e2e.ts b/web/src/engine/websites/WebComicsApp_e2e.ts index b5c6091c3c..7be565b55c 100644 --- a/web/src/engine/websites/WebComicsApp_e2e.ts +++ b/web/src/engine/websites/WebComicsApp_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebDexScans_e2e.ts b/web/src/engine/websites/WebDexScans_e2e.ts index 34120f278a..ec72cd3661 100644 --- a/web/src/engine/websites/WebDexScans_e2e.ts +++ b/web/src/engine/websites/WebDexScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebNovel_e2e.ts b/web/src/engine/websites/WebNovel_e2e.ts index 901ff666fe..a3ce25ff1a 100644 --- a/web/src/engine/websites/WebNovel_e2e.ts +++ b/web/src/engine/websites/WebNovel_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebtoonHatti_e2e.ts b/web/src/engine/websites/WebtoonHatti_e2e.ts index 1f68dfe856..3a9a793f3a 100755 --- a/web/src/engine/websites/WebtoonHatti_e2e.ts +++ b/web/src/engine/websites/WebtoonHatti_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebtoonTRNET_e2e.ts b/web/src/engine/websites/WebtoonTRNET_e2e.ts index 75c8e294fc..53bb0dd834 100644 --- a/web/src/engine/websites/WebtoonTRNET_e2e.ts +++ b/web/src/engine/websites/WebtoonTRNET_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebtoonTR_e2e.ts b/web/src/engine/websites/WebtoonTR_e2e.ts index b80eca07d2..7d60ab6d62 100644 --- a/web/src/engine/websites/WebtoonTR_e2e.ts +++ b/web/src/engine/websites/WebtoonTR_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WebtoonXYZ_e2e.ts b/web/src/engine/websites/WebtoonXYZ_e2e.ts index 08efc8ed99..9aa1580a95 100755 --- a/web/src/engine/websites/WebtoonXYZ_e2e.ts +++ b/web/src/engine/websites/WebtoonXYZ_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -23,5 +22,4 @@ const config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WeebCentral_e2e.ts b/web/src/engine/websites/WeebCentral_e2e.ts index dfdd5ca83b..dac896a317 100644 --- a/web/src/engine/websites/WeebCentral_e2e.ts +++ b/web/src/engine/websites/WeebCentral_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WeiboManhua_e2e.ts b/web/src/engine/websites/WeiboManhua_e2e.ts index c6b2b775a2..ad20c2259c 100644 --- a/web/src/engine/websites/WeiboManhua_e2e.ts +++ b/web/src/engine/websites/WeiboManhua_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WestManga_e2e.ts b/web/src/engine/websites/WestManga_e2e.ts index 1f752cccc2..761f91e235 100644 --- a/web/src/engine/websites/WestManga_e2e.ts +++ b/web/src/engine/websites/WestManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WinterScan_e2e.ts b/web/src/engine/websites/WinterScan_e2e.ts index 55f82cc2e9..08cb320bbe 100755 --- a/web/src/engine/websites/WinterScan_e2e.ts +++ b/web/src/engine/websites/WinterScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Wnacg_e2e.ts b/web/src/engine/websites/Wnacg_e2e.ts index ffd1665ce5..4a97d69b87 100644 --- a/web/src/engine/websites/Wnacg_e2e.ts +++ b/web/src/engine/websites/Wnacg_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WonderlandWebtoons_e2e.ts b/web/src/engine/websites/WonderlandWebtoons_e2e.ts index d1ead39fc5..91acc18f1b 100755 --- a/web/src/engine/websites/WonderlandWebtoons_e2e.ts +++ b/web/src/engine/websites/WonderlandWebtoons_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WordHero_e2e.ts b/web/src/engine/websites/WordHero_e2e.ts index 68d47e968e..5fdc9a6fcb 100644 --- a/web/src/engine/websites/WordHero_e2e.ts +++ b/web/src/engine/websites/WordHero_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/WorldManhwas_e2e.ts b/web/src/engine/websites/WorldManhwas_e2e.ts index 8587792af1..cf264761fb 100644 --- a/web/src/engine/websites/WorldManhwas_e2e.ts +++ b/web/src/engine/websites/WorldManhwas_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/XCaliBRScans_e2e.ts b/web/src/engine/websites/XCaliBRScans_e2e.ts index 1ba6b91b8f..1948a0c689 100644 --- a/web/src/engine/websites/XCaliBRScans_e2e.ts +++ b/web/src/engine/websites/XCaliBRScans_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const configNormal: Config = { +// CASE: Plain Images +new TestFixture({ plugin: { id: 'xcalibrscans', title: 'xCaliBR Scans' @@ -20,12 +20,10 @@ const configNormal: Config = { size: 771_615, type: 'image/jpeg' } -}; +}).AssertWebsite(); -const fixtureNormal = new TestFixture(configNormal); -describe(fixtureNormal.Name, async () => (await fixtureNormal.Connect()).AssertWebsite()); - -const configScrambledSinglePicture: Config = { +// CASE: Scrambled Single Page Images +new TestFixture({ plugin: { id: 'xcalibrscans', title: 'xCaliBR Scans' @@ -44,12 +42,10 @@ const configScrambledSinglePicture: Config = { size: 5_250_563, type: 'image/png' } -}; - -const fixtureScrambledSinglePicture = new TestFixture(configScrambledSinglePicture); -describe(fixtureScrambledSinglePicture.Name, async () => (await fixtureScrambledSinglePicture.Connect()).AssertWebsite()); +}).AssertWebsite(); -const configScrambledTwoPictures: Config = { +// CASE: Scrambled Double Page Images +new TestFixture({ plugin: { id: 'xcalibrscans', title: 'xCaliBR Scans' @@ -68,7 +64,4 @@ const configScrambledTwoPictures: Config = { size: 5_771_810, type: 'image/png' } -}; - -const fixtureScrambledTwoPictures = new TestFixture(configScrambledTwoPictures); -describe(fixtureScrambledTwoPictures.Name, async () => (await fixtureScrambledTwoPictures.Connect()).AssertWebsite()); \ No newline at end of file +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/XManga_e2e.ts b/web/src/engine/websites/XManga_e2e.ts index 988288ed4a..5c21cba589 100644 --- a/web/src/engine/websites/XManga_e2e.ts +++ b/web/src/engine/websites/XManga_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -24,5 +23,4 @@ const config = { */ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/XManhwa_e2e.ts b/web/src/engine/websites/XManhwa_e2e.ts index 19e526de98..6bdf5ae118 100644 --- a/web/src/engine/websites/XManhwa_e2e.ts +++ b/web/src/engine/websites/XManhwa_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/XXXYaoi_e2e.ts b/web/src/engine/websites/XXXYaoi_e2e.ts index 34a6a9601e..0ff12fa1ef 100755 --- a/web/src/engine/websites/XXXYaoi_e2e.ts +++ b/web/src/engine/websites/XXXYaoi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/XlecX_e2e.ts b/web/src/engine/websites/XlecX_e2e.ts index 08b1cb57ae..2f73bb18a2 100644 --- a/web/src/engine/websites/XlecX_e2e.ts +++ b/web/src/engine/websites/XlecX_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/XoxoComics_e2e.ts b/web/src/engine/websites/XoxoComics_e2e.ts index cd34df367d..9f078b710f 100644 --- a/web/src/engine/websites/XoxoComics_e2e.ts +++ b/web/src/engine/websites/XoxoComics_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YakshaScans_e2e.ts b/web/src/engine/websites/YakshaScans_e2e.ts index fc482aad60..b0fe25bb48 100644 --- a/web/src/engine/websites/YakshaScans_e2e.ts +++ b/web/src/engine/websites/YakshaScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YanpFansub_e2e.ts b/web/src/engine/websites/YanpFansub_e2e.ts index 4040fc796e..2214d68927 100644 --- a/web/src/engine/websites/YanpFansub_e2e.ts +++ b/web/src/engine/websites/YanpFansub_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YaoiChan_e2e.ts b/web/src/engine/websites/YaoiChan_e2e.ts index faed51fa3f..fc6facd850 100644 --- a/web/src/engine/websites/YaoiChan_e2e.ts +++ b/web/src/engine/websites/YaoiChan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture, type Config } from '../../../test/WebsitesFixture'; +import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { plugin: { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YaoiHavenReborn_e2e.ts b/web/src/engine/websites/YaoiHavenReborn_e2e.ts index 1da06cc805..1a3618b916 100644 --- a/web/src/engine/websites/YaoiHavenReborn_e2e.ts +++ b/web/src/engine/websites/YaoiHavenReborn_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YaoiMangaOku_e2e.ts b/web/src/engine/websites/YaoiMangaOku_e2e.ts index b319a14b9d..64be7deaf2 100644 --- a/web/src/engine/websites/YaoiMangaOku_e2e.ts +++ b/web/src/engine/websites/YaoiMangaOku_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YaoiScan_e2e.ts b/web/src/engine/websites/YaoiScan_e2e.ts index 5b85f722d2..5b7fedce87 100755 --- a/web/src/engine/websites/YaoiScan_e2e.ts +++ b/web/src/engine/websites/YaoiScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YaoiTR_e2e.ts b/web/src/engine/websites/YaoiTR_e2e.ts index 64b2690322..5c453d3910 100644 --- a/web/src/engine/websites/YaoiTR_e2e.ts +++ b/web/src/engine/websites/YaoiTR_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { }*/ }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YawarakaSpirits_e2e.ts b/web/src/engine/websites/YawarakaSpirits_e2e.ts index 2d5b4c8383..6d4468609b 100644 --- a/web/src/engine/websites/YawarakaSpirits_e2e.ts +++ b/web/src/engine/websites/YawarakaSpirits_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -23,5 +22,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Ynjn_e2e.ts b/web/src/engine/websites/Ynjn_e2e.ts index 43dbaadcb9..3b644ba175 100644 --- a/web/src/engine/websites/Ynjn_e2e.ts +++ b/web/src/engine/websites/Ynjn_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YumeKomik_e2e.ts b/web/src/engine/websites/YumeKomik_e2e.ts index 596f650a68..2fa4f7fee9 100644 --- a/web/src/engine/websites/YumeKomik_e2e.ts +++ b/web/src/engine/websites/YumeKomik_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YuraManga_e2e.ts b/web/src/engine/websites/YuraManga_e2e.ts index 7ad1a235c7..e264e6ba09 100644 --- a/web/src/engine/websites/YuraManga_e2e.ts +++ b/web/src/engine/websites/YuraManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -22,5 +21,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/YuriVerso_e2e.ts b/web/src/engine/websites/YuriVerso_e2e.ts index 7bca973335..e6824fc631 100755 --- a/web/src/engine/websites/YuriVerso_e2e.ts +++ b/web/src/engine/websites/YuriVerso_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Yurineko_e2e.ts b/web/src/engine/websites/Yurineko_e2e.ts index 441b8456dc..479c7c2bd1 100644 --- a/web/src/engine/websites/Yurineko_e2e.ts +++ b/web/src/engine/websites/Yurineko_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Zebrack_e2e.ts b/web/src/engine/websites/Zebrack_e2e.ts index a1f7ac7ec4..4f7789edf6 100644 --- a/web/src/engine/websites/Zebrack_e2e.ts +++ b/web/src/engine/websites/Zebrack_e2e.ts @@ -1,7 +1,7 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; -const fixtureMagazine = new TestFixture ({ +// CASE: Provided in Magazines +new TestFixture ({ plugin: { id: 'zebrack', @@ -21,10 +21,10 @@ const fixtureMagazine = new TestFixture ({ size: 485_738, type: 'image/jpeg' } -}); -describe(fixtureMagazine.Name, () => fixtureMagazine.AssertWebsite()); +}).AssertWebsite(); -const fixtureTitle = new TestFixture({ +// CASE: Provided in Issues +new TestFixture({ plugin: { id: 'zebrack', title: 'Zebrack(ゼブラック)' @@ -44,10 +44,10 @@ const fixtureTitle = new TestFixture({ type: 'image/jpeg' } -}); -describe(fixtureTitle.Name, () => fixtureTitle.AssertWebsite()); +}).AssertWebsite(); -const fixtureGravure = new TestFixture({ +// CASE: Provided in Gravures +new TestFixture({ plugin: { id: 'zebrack', title: 'Zebrack(ゼブラック)' @@ -67,10 +67,10 @@ const fixtureGravure = new TestFixture({ type: 'image/jpeg' } -}); -describe(fixtureGravure.Name, () => fixtureGravure.AssertWebsite()); +}).AssertWebsite(); -const fixtureVolume = new TestFixture({ +// CASE: Provided in Volumes +new TestFixture({ plugin: { id: 'zebrack', title: 'Zebrack(ゼブラック)' @@ -90,5 +90,4 @@ const fixtureVolume = new TestFixture({ type: 'image/jpeg' } -}); -describe(fixtureVolume.Name, () => fixtureGravure.AssertWebsite()); +}).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ZenithScans_e2e.ts b/web/src/engine/websites/ZenithScans_e2e.ts index 3afc8ffa2f..12cb38426a 100644 --- a/web/src/engine/websites/ZenithScans_e2e.ts +++ b/web/src/engine/websites/ZenithScans_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ZeroScans_e2e.ts b/web/src/engine/websites/ZeroScans_e2e.ts index 11744a8738..d17efb66b4 100644 --- a/web/src/engine/websites/ZeroScans_e2e.ts +++ b/web/src/engine/websites/ZeroScans_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture, type Config } from '../../../test/WebsitesFixture'; const config: Config = { @@ -23,5 +22,4 @@ const config: Config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ZeurelScan_e2e.ts b/web/src/engine/websites/ZeurelScan_e2e.ts index 7bcbd526a1..39664894d7 100644 --- a/web/src/engine/websites/ZeurelScan_e2e.ts +++ b/web/src/engine/websites/ZeurelScan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/Zhuzhumh_e2e.ts b/web/src/engine/websites/Zhuzhumh_e2e.ts index 6c97e902b3..49a456a765 100644 --- a/web/src/engine/websites/Zhuzhumh_e2e.ts +++ b/web/src/engine/websites/Zhuzhumh_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ZinMangaNet_e2e.ts b/web/src/engine/websites/ZinMangaNet_e2e.ts index d6c896c12a..e1a7831fcc 100644 --- a/web/src/engine/websites/ZinMangaNet_e2e.ts +++ b/web/src/engine/websites/ZinMangaNet_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/ZinManga_e2e.ts b/web/src/engine/websites/ZinManga_e2e.ts index 40b6526b20..14df3331d8 100755 --- a/web/src/engine/websites/ZinManga_e2e.ts +++ b/web/src/engine/websites/ZinManga_e2e.ts @@ -1,4 +1,3 @@ -import { describe } from 'vitest'; import { TestFixture } from '../../../test/WebsitesFixture'; const config = { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/iqiyi_e2e.ts b/web/src/engine/websites/iqiyi_e2e.ts index dfdcd7899a..8ca2cc157e 100644 --- a/web/src/engine/websites/iqiyi_e2e.ts +++ b/web/src/engine/websites/iqiyi_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/kuimh_e2e.ts b/web/src/engine/websites/kuimh_e2e.ts index 96ad89266a..9e0865c0ea 100644 --- a/web/src/engine/websites/kuimh_e2e.ts +++ b/web/src/engine/websites/kuimh_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/mkzhan_e2e.ts b/web/src/engine/websites/mkzhan_e2e.ts index 16442c2888..693622ce6a 100644 --- a/web/src/engine/websites/mkzhan_e2e.ts +++ b/web/src/engine/websites/mkzhan_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/src/engine/websites/templates/KeyoApp.ts b/web/src/engine/websites/templates/KeyoApp.ts index 6637ec296c..689cc3bb66 100644 --- a/web/src/engine/websites/templates/KeyoApp.ts +++ b/web/src/engine/websites/templates/KeyoApp.ts @@ -1,4 +1,3 @@ -//KeyoApp template : websites Similar to MagusManga, StarBoundScan, LuaScans. One page Manga list & hosting images on cdn.igniscans.com export const pagesScript = ` new Promise ( resolve => { resolve( [...document.querySelectorAll('.myImage')].map(image => { diff --git a/web/src/engine/websites/templates/KeyoApp_e2e.ts b/web/src/engine/websites/templates/KeyoApp_e2e.ts new file mode 100644 index 0000000000..56beb1b231 --- /dev/null +++ b/web/src/engine/websites/templates/KeyoApp_e2e.ts @@ -0,0 +1,7 @@ +import '../ArvenScans_e2e'; +import '../GenzToon_e2e'; +import '../LuaScans_e2e'; +import '../MagusManga_e2e'; +import '../NecroScans_e2e'; +import '../ReaperScansFR_e2e'; +import '../StarboundScans_e2e'; \ No newline at end of file diff --git a/web/src/engine/websites/xianman123_e2e.ts b/web/src/engine/websites/xianman123_e2e.ts index faa87ef4e1..a3cae7743c 100644 --- a/web/src/engine/websites/xianman123_e2e.ts +++ b/web/src/engine/websites/xianman123_e2e.ts @@ -1,5 +1,4 @@ -import { describe } from 'vitest'; -import { TestFixture } from '../../../test/WebsitesFixture'; +import { TestFixture } from '../../../test/WebsitesFixture'; const config = { plugin: { @@ -22,5 +21,4 @@ const config = { } }; -const fixture = new TestFixture(config); -describe(fixture.Name, async () => (await fixture.Connect()).AssertWebsite()); \ No newline at end of file +new TestFixture(config).AssertWebsite(); \ No newline at end of file diff --git a/web/test/WebsitesFixture.ts b/web/test/WebsitesFixture.ts index 21bd16a274..20d67eff45 100644 --- a/web/test/WebsitesFixture.ts +++ b/web/test/WebsitesFixture.ts @@ -1,4 +1,4 @@ -import { it, expect } from 'vitest'; +import { describe, it, expect } from 'vitest'; import type { JSHandle } from 'puppeteer-core'; import { PuppeteerFixture } from '../../test/PuppeteerFixture'; import type { IValue } from '../src/engine/SettingsManager'; @@ -39,7 +39,7 @@ export class TestFixture, TCon } private async GetRemotePlugin(pluginID: string, settings?: Record): Promise> { - return super.Page.evaluateHandle(async (id: string, setup: Record) => { + return this.EvaluateHandle(async (id: string, setup: Record) => { const plugin = window.HakuNeko.PluginController.WebsitePlugins.find(website => website.Identifier === id); for (const key in setup) { plugin.Settings.Get(key).Value = setup[key]; @@ -87,45 +87,47 @@ export class TestFixture, TCon } public AssertWebsite() { + describe(this.Name, () => { - let remotePlugin: JSHandle; + let remotePlugin: JSHandle; - (this.config.plugin ? it : it.skip)('Should get initialized website plugin', async () => { - remotePlugin = await this.GetRemotePlugin(this.config.plugin.id, this.config.plugin.settings); - expect(await remotePlugin.evaluate(plugin => plugin?.Identifier || 'Website plugin not found!')).toEqual(this.config.plugin.id); - expect(await remotePlugin.evaluate(plugin => plugin.Title)).toEqual(this.config.plugin.title); - }, this.config.plugin.timeout ?? 25_000); + (this.config.plugin ? it : it.skip)('Should get initialized website plugin', async () => { + remotePlugin = await this.GetRemotePlugin(this.config.plugin.id, this.config.plugin.settings); + expect(await remotePlugin.evaluate(plugin => plugin?.Identifier || 'Website plugin not found!')).toEqual(this.config.plugin.id); + expect(await remotePlugin.evaluate(plugin => plugin.Title)).toEqual(this.config.plugin.title); + }, this.config.plugin.timeout ?? 25_000); - let remoteContainer: JSHandle; + let remoteContainer: JSHandle; - (this.config.container ? it : it.skip)('Should get specific manga', async () => { - remoteContainer = await this.GetRemoteContainer(remotePlugin, this.config.container.url); - expect(await remoteContainer.evaluate(container => container?.Identifier || 'Manga not found!')).toEqual(this.config.container.id); - expect(await remoteContainer.evaluate(container => container.Title)).toEqual(this.config.container.title); - }, this.config.container?.timeout ?? 7500); + (this.config.container ? it : it.skip)('Should get specific manga', async () => { + remoteContainer = await this.GetRemoteContainer(remotePlugin, this.config.container.url); + expect(await remoteContainer.evaluate(container => container?.Identifier || 'Manga not found!')).toEqual(this.config.container.id); + expect(await remoteContainer.evaluate(container => container.Title)).toEqual(this.config.container.title); + }, this.config.container?.timeout ?? 7500); - let remoteChild: JSHandle; + let remoteChild: JSHandle; - (this.config.child ? it : it.skip)('Should get specific chapter', async () => { - remoteChild = await this.GetRemoteChild(remoteContainer, this.config.child.id); - expect(await remoteChild.evaluate(child => child?.Identifier || 'Chapter not found!')).toEqual(this.config.child.id); - expect(await remoteChild.evaluate(child => child.Title)).toEqual(this.config.child.title); - }, this.config.child?.timeout ?? 7500); + (this.config.child ? it : it.skip)('Should get specific chapter', async () => { + remoteChild = await this.GetRemoteChild(remoteContainer, this.config.child.id); + expect(await remoteChild.evaluate(child => child?.Identifier || 'Chapter not found!')).toEqual(this.config.child.id); + expect(await remoteChild.evaluate(child => child.Title)).toEqual(this.config.child.title); + }, this.config.child?.timeout ?? 7500); - let remoteEntry: JSHandle; + let remoteEntry: JSHandle; - (this.config.entry ? it : it.skip)('Should get specific page', async () => { - remoteEntry = await this.GetRemoteEntry(remoteChild, this.config.entry.index); - expect(await remoteEntry.evaluate(page => page?.Parent?.Identifier || 'Page not found!')).toEqual(this.config.child.id); - expect(await remoteEntry.evaluate(page => page.Parent.Title)).toEqual(this.config.child.title); - }, this.config.entry?.timeout ?? 7500); + (this.config.entry ? it : it.skip)('Should get specific page', async () => { + remoteEntry = await this.GetRemoteEntry(remoteChild, this.config.entry.index); + expect(await remoteEntry.evaluate(page => page?.Parent?.Identifier || 'Page not found!')).toEqual(this.config.child.id); + expect(await remoteEntry.evaluate(page => page.Parent.Title)).toEqual(this.config.child.title); + }, this.config.entry?.timeout ?? 7500); - let remoteData: JSHandle; + let remoteData: JSHandle; - (this.config.entry ? it : it.skip)('Should fetch valid blob', async () => { - remoteData = await this.GetRemoteData(remoteEntry); - expect(await remoteData.evaluate(data => data.type)).toEqual(this.config.entry.type); - expect(await remoteData.evaluate(data => data.size)).toEqual(this.config.entry.size); - }, this.config.entry?.timeout ?? 7500); + (this.config.entry ? it : it.skip)('Should fetch valid blob', async () => { + remoteData = await this.GetRemoteData(remoteEntry); + expect(await remoteData.evaluate(data => data.type)).toEqual(this.config.entry.type); + expect(await remoteData.evaluate(data => data.size)).toEqual(this.config.entry.size); + }, this.config.entry?.timeout ?? 7500); + }); } } \ No newline at end of file