Adding getProperty to export the ListenerRSS properties + related tests

This commit is contained in:
2021-03-28 13:22:55 +02:00
parent 271f445aef
commit c02df46440
2 changed files with 27 additions and 2 deletions

View File

@ -195,6 +195,16 @@ describe("test class RSS: jsonfile", function () {
});
});
describe("export property", function () {
it("should export properties into a ListenerRSSInfos", function () {
// given
const myListener = new Listeners(infosListener);
// assertions
expect(myListener.getProperty()).to.be.eql(infosListener);
});
});
describe("data fetching", function () {
it("fetches without issues", async function () {
// given