From e3660d947743772c33381e8c52136351bb6de1f0 Mon Sep 17 00:00:00 2001 From: Sean Thomas Burke <965298+seantomburke@users.noreply.github.com> Date: Thu, 12 Aug 2021 19:39:11 -1000 Subject: [PATCH] Update test.js (#89) * Update test.js * Updating tests * Updating more tests --- src/tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/test.js b/src/tests/test.js index 5f7f8ed..d48943f 100644 --- a/src/tests/test.js +++ b/src/tests/test.js @@ -138,9 +138,9 @@ describe('Sitemapper', function () { }); }); - it('https://www.banggood.com/sitemap/products-Toys-Hobbies-and-Robot-5-hu-HU.xml.gz gzip should be a non-empty array', function (done) { + it('https://m.banggood.com/sitemap/category.xml.gz gzip should be a non-empty array', function (done) { this.timeout(30000); - const url = 'https://www.banggood.com/sitemap/products-Toys-Hobbies-and-Robot-5-hu-HU.xml.gz'; + const url = 'https://m.banggood.com/sitemap/category.xml.gz'; sitemapper.timeout = 10000; sitemapper.fetch(url) .then(data => { @@ -164,9 +164,9 @@ describe('Sitemapper', function () { }); }); - it('https://www.banggood.com/sitemap/products-Toys-Hobbies-and-Robot-5-hu-HU.xml.gz gzip should be a non-empty array', function (done) { + it('https://m.banggood.com/sitemap/category.xml.gz gzip should be a non-empty array', function (done) { this.timeout(30000); - const url = 'https://www.banggood.com/sitemap/products-Toys-Hobbies-and-Robot-5-hu-HU.xml.gz'; + const url = 'https://m.banggood.com/sitemap/category.xml.gz'; sitemapper.timeout = 10000; sitemapper.fetch(url) .then(data => {