From ca290ab58955cc1bb86f21a84ef06850248aee6a Mon Sep 17 00:00:00 2001 From: gegehprast Date: Tue, 28 Apr 2020 01:32:52 +0800 Subject: [PATCH] update smh test --- test/unit/samehadaku.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/samehadaku.test.js b/test/unit/samehadaku.test.js index 5be2ea8..d0603f0 100644 --- a/test/unit/samehadaku.test.js +++ b/test/unit/samehadaku.test.js @@ -26,7 +26,7 @@ describe('samehadaku', function () { this.timeout(60000) await Browser.init() const Samehadaku = require('../../fansubs/Samehadaku') - const episodes = await Samehadaku.episodes('%2Fanime%2Fgegege-no-kitarou-2018%2F') + const episodes = await Samehadaku.episodes('/anime/kakushigoto-tv/') expect(episodes).to.be.an('array') episodes.forEach(item => { @@ -43,7 +43,7 @@ describe('samehadaku', function () { this.timeout(60000) await Browser.init() const Samehadaku = require('../../fansubs/Samehadaku') - const links = await Samehadaku.links('%2Fgegege-no-kitarou-episode-87%2F') + const links = await Samehadaku.links('/kakushigoto-episode-4/') expect(links).to.be.an('array') links.forEach(item => {