mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
fix(RSS Read Node): Fix issue where some feeds fail to load (#16001)
This commit is contained in:
@@ -7,6 +7,9 @@ const feed = `<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.o
|
||||
describe('Test RSS Feed Trigger Node', () => {
|
||||
beforeAll(() => {
|
||||
nock('https://lorem-rss.herokuapp.com').get('/feed?length=3').reply(200, feed);
|
||||
nock('https://fake-rss-feed.com')
|
||||
.get('/feed')
|
||||
.reply(200, feed, { 'Content-Type': 'application/xml; charset=utf-8' });
|
||||
});
|
||||
|
||||
new NodeTestHarness().setupTests();
|
||||
|
||||
Reference in New Issue
Block a user