From 668463c1c9090f1d3c8197d057d1cfa73b16ce85 Mon Sep 17 00:00:00 2001 From: Nemo Date: Tue, 11 May 2021 12:44:42 +0530 Subject: [PATCH] xmlbuilder upgrade fixed some things --- openlibrary.js | 2 -- test.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/openlibrary.js b/openlibrary.js index 39687d7..4125e9c 100644 --- a/openlibrary.js +++ b/openlibrary.js @@ -48,8 +48,6 @@ module.exports = { }); } - console.log(JSON.stringify(book.details)); - if (undefined !== book.details.covers) { let coverId = book.details.covers[0]; diff --git a/test.js b/test.js index d827554..e6abb98 100644 --- a/test.js +++ b/test.js @@ -34,6 +34,6 @@ test("the xml generator to work", () => { }; let xml = generator._convert(input, false); expect(xml).toBe( - `97805961011900596101198Dan WoodsGautam GulianiOpen Source for the EnterpriseManaging Risks, Reaping RewardssubtitleengO'Reilly Media, Inc.` + `97805961011900596101198Dan WoodsGautam GulianiOpen Source for the EnterpriseManaging Risks, Reaping RewardssubtitleengO'Reilly Media, Inc.2005-07-26` ); });