From 79c639d8a15770f926015a166a3fa274133a4a4d Mon Sep 17 00:00:00 2001 From: tim-hub Date: Tue, 3 Oct 2023 20:09:24 +1300 Subject: [PATCH] 3.0.6 fix wrong unit test --- packages/bible-book-names-intl/package.json | 2 +- packages/bible-book-names-intl/src/tests/index.test.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/bible-book-names-intl/package.json b/packages/bible-book-names-intl/package.json index 4da27e4..de88178 100644 --- a/packages/bible-book-names-intl/package.json +++ b/packages/bible-book-names-intl/package.json @@ -1,6 +1,6 @@ { "name": "bible-book-names-intl", - "version": "3.0.5", + "version": "3.0.6", "description": "Bible Book Names in Multiple Languages", "repository": { "type": "git", diff --git a/packages/bible-book-names-intl/src/tests/index.test.ts b/packages/bible-book-names-intl/src/tests/index.test.ts index a086ec1..d0f49a9 100644 --- a/packages/bible-book-names-intl/src/tests/index.test.ts +++ b/packages/bible-book-names-intl/src/tests/index.test.ts @@ -24,7 +24,8 @@ describe('test book names', () => { }); test('test book 1 John', () => { - expect(books[61].fullName).toBe('John'); + expect(books[61].fullName).toBe('1 John'); + expect(books[61].name).toBe('John'); expect(books[61].startNumber).toBe(1); expect(books[61].verses.length).toBe(5); expect(books[61].verses[0]).toBe(10);