Skip to content

Commit 32fc3ba

Browse files
Update __tests__/helper.test.ts
Co-authored-by: Demian Katz <demian.katz@villanova.edu>
1 parent c0aed75 commit 32fc3ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

__tests__/helper.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ describe("Helper", () => {
7373
manifestUri: brideDiff.id,
7474
});
7575
const metadataGroups = helper.getMetadata();
76-
const summary = [getMetadataValue(metadataGroups, "summary")];
77-
const description = [getMetadataValue(metadataGroups, "description")];
78-
expect(description[0]).toEqual(["fnord"]);
79-
expect(summary[0]).toEqual(["Bride of the Tomb"]);
76+
const summary = getMetadataValue(metadataGroups, "summary");
77+
const description = getMetadataValue(metadataGroups, "description");
78+
expect(description).toEqual(["fnord"]);
79+
expect(summary).toEqual(["Bride of the Tomb"]);
8080
});
8181

8282
test("getMetadata records summary as Description when locale is not En in metadata for brideDiff manifest", async () => {

0 commit comments

Comments
 (0)