const inspector = require('..');
const expect = require('expect.js');

describe("user-agent suite", () => {
	it("no 403 on laprovence", async () => {
		const meta = await inspector('https://www.laprovence.com/actu/en-direct/6620418/mercato-om-valence-pense-a-alvaro.html');
		expect(meta.type).to.be("link");
	}).timeout(10000);

	it("no 403 on lesteclair", async () => {
		const meta = await inspector('https://www.lest-eclair.fr/id335530/article/2022-01-25/lebo-mothiba-va-rejoindre-lestac');
		expect(meta.type).to.be("link");
	}).timeout(10000);

});

@@ -544,12 +544,430 @@
 0000);%0A%0A
+%09it(%22no connection reset on andra%22, async () =%3E %7B%0A%09%09const meta = await inspector('https://www.andra.fr/espace-producteurs/conditions-de-prise-en-charge-des-objets-radioactifs');%0A%09%09expect(meta.type).to.be(%22link%22);%0A%09%7D).timeout(10000);%0A%0A%09it(%22no 403 on team viewer%22, async () =%3E %7B%0A%09%09const meta = await inspector('https://www.teamviewer.com/en-us/download/windows/');%0A%09%09expect(meta.type).to.be(%22link%22);%0A%09%7D).timeout(10000);%0A
 %7D);%0A

Add some picky url