From d3601bba24a83b3930711cc664e8ffad2ee41fd8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 23 Mar 2020 19:09:03 -0400 Subject: [PATCH] Remove incorrect test for Extra 'type:' extraction --- test/tests/utilities_internalTest.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/tests/utilities_internalTest.js b/test/tests/utilities_internalTest.js index 20e90ebf4e..660fe1a099 100644 --- a/test/tests/utilities_internalTest.js +++ b/test/tests/utilities_internalTest.js @@ -121,14 +121,6 @@ describe("Zotero.Utilities.Internal", function () { assert.equal(extra, 'type: note'); }); - it("should extract a CSL type", function () { - var str = 'type: motion_picture'; - var { itemType, fields, extra } = Zotero.Utilities.Internal.extractExtraFields(str); - assert.equal(itemType, 'videoRecording'); - assert.equal(fields.size, 0); - assert.strictEqual(extra, ''); - }); - it("should use the first mapped Zotero type for a CSL type", function () { var str = 'type: personal_communication'; var { itemType, fields, extra } = Zotero.Utilities.Internal.extractExtraFields(str);