@youversion/platform-core 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,51 +2,44 @@ export const mockNIVRom1PassageHTMLHeadings = {
2
2
  id: 'ROM.1',
3
3
  content:
4
4
  '<div><div class="p"><span class="yv-v" v="1"></span><span class="yv-vlbl">1</span>Paul, a servant of Christ Jesus, called to be an apostle and set apart for the gospel of God— <span class="yv-v" v="2"></span><span class="yv-vlbl">2</span>the gospel he promised beforehand through his prophets in the Holy Scriptures <span class="yv-v" v="3"></span><span class="yv-vlbl">3</span>regarding his Son, who as to his earthly life was a descendant of David, <span class="yv-v" v="4"></span><span class="yv-vlbl">4</span>and who through the Spirit of holiness was appointed the Son of God in power by his resurrection from the dead: Jesus Christ our Lord. <span class="yv-v" v="5"></span><span class="yv-vlbl">5</span>Through him we received grace and apostleship to call all the Gentiles to the obedience that comes from faith for his name’s sake. <span class="yv-v" v="6"></span><span class="yv-vlbl">6</span>And you also are among those Gentiles who are called to belong to Jesus Christ.</div><div class="p"><span class="yv-v" v="7"></span><span class="yv-vlbl">7</span>To all in Rome who are loved by God and called to be his holy people:</div><div class="p">Grace and peace to you from God our Father and from the Lord Jesus Christ.</div><div class="s1 yv-h">Paul’s Longing to Visit Rome</div><div class="p"><span class="yv-v" v="8"></span><span class="yv-vlbl">8</span>First, I thank my God through Jesus Christ for all of you, because your faith is being reported all over the world. <span class="yv-v" v="9"></span><span class="yv-vlbl">9</span>God, whom I serve in my spirit in preaching the gospel of his Son, is my witness how constantly I remember you <span class="yv-v" v="10"></span><span class="yv-vlbl">10</span>in my prayers at all times; and I pray that now at last by God’s will the way may be opened for me to come to you.</div><div class="p"><span class="yv-v" v="11"></span><span class="yv-vlbl">11</span>I long to see you so that I may impart to you some spiritual gift to make you strong— <span class="yv-v" v="12"></span><span class="yv-vlbl">12</span>that is, that you and I may be mutually encouraged by each other’s faith. <span class="yv-v" v="13"></span><span class="yv-vlbl">13</span>I do not want you to be unaware, brothers and sisters, that I planned many times to come to you (but have been prevented from doing so until now) in order that I might have a harvest among you, just as I have had among the other Gentiles.</div><div class="p"><span class="yv-v" v="14"></span><span class="yv-vlbl">14</span>I am obligated both to Greeks and non-Greeks, both to the wise and the foolish. <span class="yv-v" v="15"></span><span class="yv-vlbl">15</span>That is why I am so eager to preach the gospel also to you who are in Rome.</div><div class="p"><span class="yv-v" v="16"></span><span class="yv-vlbl">16</span>For I am not ashamed of the gospel, because it is the power of God that brings salvation to everyone who believes: first to the Jew, then to the Gentile. <span class="yv-v" v="17"></span><span class="yv-vlbl">17</span>For in the gospel the righteousness of God is revealed—a righteousness that is by faith from first to last, just as it is written: “The righteous will live by faith.”</div><div class="s1 yv-h">God’s Wrath Against Sinful Humanity</div><div class="p"><span class="yv-v" v="18"></span><span class="yv-vlbl">18</span>The wrath of God is being revealed from heaven against all the godlessness and wickedness of people, who suppress the truth by their wickedness, <span class="yv-v" v="19"></span><span class="yv-vlbl">19</span>since what may be known about God is plain to them, because God has made it plain to them. <span class="yv-v" v="20"></span><span class="yv-vlbl">20</span>For since the creation of the world God’s invisible qualities—his eternal power and divine nature—have been clearly seen, being understood from what has been made, so that people are without excuse.</div><div class="p"><span class="yv-v" v="21"></span><span class="yv-vlbl">21</span>For although they knew God, they neither glorified him as God nor gave thanks to him, but their thinking became futile and their foolish hearts were darkened. <span class="yv-v" v="22"></span><span class="yv-vlbl">22</span>Although they claimed to be wise, they became fools <span class="yv-v" v="23"></span><span class="yv-vlbl">23</span>and exchanged the glory of the immortal God for images made to look like a mortal human being and birds and animals and reptiles.</div><div class="p"><span class="yv-v" v="24"></span><span class="yv-vlbl">24</span>Therefore God gave them over in the sinful desires of their hearts to sexual impurity for the degrading of their bodies with one another. <span class="yv-v" v="25"></span><span class="yv-vlbl">25</span>They exchanged the truth about God for a lie, and worshiped and served created things rather than the Creator—who is forever praised. Amen.</div><div class="p"><span class="yv-v" v="26"></span><span class="yv-vlbl">26</span>Because of this, God gave them over to shameful lusts. Even their women exchanged natural sexual relations for unnatural ones. <span class="yv-v" v="27"></span><span class="yv-vlbl">27</span>In the same way the men also abandoned natural relations with women and were inflamed with lust for one another. Men committed shameful acts with other men, and received in themselves the due penalty for their error.</div><div class="p"><span class="yv-v" v="28"></span><span class="yv-vlbl">28</span>Furthermore, just as they did not think it worthwhile to retain the knowledge of God, so God gave them over to a depraved mind, so that they do what ought not to be done. <span class="yv-v" v="29"></span><span class="yv-vlbl">29</span>They have become filled with every kind of wickedness, evil, greed and depravity. They are full of envy, murder, strife, deceit and malice. They are gossips, <span class="yv-v" v="30"></span><span class="yv-vlbl">30</span>slanderers, God-haters, insolent, arrogant and boastful; they invent ways of doing evil; they disobey their parents; <span class="yv-v" v="31"></span><span class="yv-vlbl">31</span>they have no understanding, no fidelity, no love, no mercy. <span class="yv-v" v="32"></span><span class="yv-vlbl">32</span>Although they know God’s righteous decree that those who do such things deserve death, they not only continue to do these very things but also approve of those who practice them.</div></div>',
5
- bible_id: 111,
6
- human_reference: 'Romans 1',
5
+ reference: 'Romans 1',
7
6
  };
8
7
 
9
8
  export const mockNIVRom1PassageHTMLNotes = {
10
9
  id: 'ROM.1',
11
10
  content:
12
11
  '<div><div class="p"><span class="yv-v" v="1"></span><span class="yv-vlbl">1</span>Paul, a servant of Christ Jesus, called to be an apostle and set apart for the gospel of God— <span class="yv-v" v="2"></span><span class="yv-vlbl">2</span>the gospel he promised beforehand through his prophets in the Holy Scriptures <span class="yv-v" v="3"></span><span class="yv-vlbl">3</span>regarding his Son, who as to his earthly life<span class="yv-n f"><span class="fr">1:3 </span><span class="ft">Or </span><span class="fqa">who according to the flesh</span></span> was a descendant of David, <span class="yv-v" v="4"></span><span class="yv-vlbl">4</span>and who through the Spirit of holiness was appointed the Son of God in power<span class="yv-n f"><span class="fr">1:4 </span><span class="ft">Or </span><span class="fqa">was declared with power to be the Son of God</span></span> by his resurrection from the dead: Jesus Christ our Lord. <span class="yv-v" v="5"></span><span class="yv-vlbl">5</span>Through him we received grace and apostleship to call all the Gentiles to the obedience that comes from<span class="yv-n f"><span class="fr">1:5 </span><span class="ft">Or </span><span class="fqa">that is</span></span> faith for his name’s sake. <span class="yv-v" v="6"></span><span class="yv-vlbl">6</span>And you also are among those Gentiles who are called to belong to Jesus Christ.</div><div class="p"><span class="yv-v" v="7"></span><span class="yv-vlbl">7</span>To all in Rome who are loved by God and called to be his holy people:</div><div class="p">Grace and peace to you from God our Father and from the Lord Jesus Christ.</div><div class="p"><span class="yv-v" v="8"></span><span class="yv-vlbl">8</span>First, I thank my God through Jesus Christ for all of you, because your faith is being reported all over the world. <span class="yv-v" v="9"></span><span class="yv-vlbl">9</span>God, whom I serve in my spirit in preaching the gospel of his Son, is my witness how constantly I remember you <span class="yv-v" v="10"></span><span class="yv-vlbl">10</span>in my prayers at all times; and I pray that now at last by God’s will the way may be opened for me to come to you.</div><div class="p"><span class="yv-v" v="11"></span><span class="yv-vlbl">11</span>I long to see you so that I may impart to you some spiritual gift to make you strong— <span class="yv-v" v="12"></span><span class="yv-vlbl">12</span>that is, that you and I may be mutually encouraged by each other’s faith. <span class="yv-v" v="13"></span><span class="yv-vlbl">13</span>I do not want you to be unaware, brothers and sisters,<span class="yv-n f"><span class="fr">1:13 </span><span class="ft">The Greek word for </span><span class="fq">brothers and sisters </span><span class="ft">(<span class="tl">adelphoi</span>) refers here to believers, both men and women, as part of God’s family; also in 7:1, 4; 8:12, 29; 10:1; 11:25; 12:1; 15:14, 30; 16:14, 17.</span></span> that I planned many times to come to you (but have been prevented from doing so until now) in order that I might have a harvest among you, just as I have had among the other Gentiles.</div><div class="p"><span class="yv-v" v="14"></span><span class="yv-vlbl">14</span>I am obligated both to Greeks and non-Greeks, both to the wise and the foolish. <span class="yv-v" v="15"></span><span class="yv-vlbl">15</span>That is why I am so eager to preach the gospel also to you who are in Rome.</div><div class="p"><span class="yv-v" v="16"></span><span class="yv-vlbl">16</span>For I am not ashamed of the gospel, because it is the power of God that brings salvation to everyone who believes: first to the Jew, then to the Gentile. <span class="yv-v" v="17"></span><span class="yv-vlbl">17</span>For in the gospel the righteousness of God is revealed—a righteousness that is by faith from first to last,<span class="yv-n f"><span class="fr">1:17 </span><span class="ft">Or </span><span class="fqa">is from faith to faith</span></span> just as it is written: “The righteous will live by faith.”<span class="yv-n f"><span class="fr">1:17 </span><span class="ft"><span class="ref" usfm="HAB.2.4">Hab. 2:4</span></span></span></div><div class="p"><span class="yv-v" v="18"></span><span class="yv-vlbl">18</span>The wrath of God is being revealed from heaven against all the godlessness and wickedness of people, who suppress the truth by their wickedness, <span class="yv-v" v="19"></span><span class="yv-vlbl">19</span>since what may be known about God is plain to them, because God has made it plain to them. <span class="yv-v" v="20"></span><span class="yv-vlbl">20</span>For since the creation of the world God’s invisible qualities—his eternal power and divine nature—have been clearly seen, being understood from what has been made, so that people are without excuse.</div><div class="p"><span class="yv-v" v="21"></span><span class="yv-vlbl">21</span>For although they knew God, they neither glorified him as God nor gave thanks to him, but their thinking became futile and their foolish hearts were darkened. <span class="yv-v" v="22"></span><span class="yv-vlbl">22</span>Although they claimed to be wise, they became fools <span class="yv-v" v="23"></span><span class="yv-vlbl">23</span>and exchanged the glory of the immortal God for images made to look like a mortal human being and birds and animals and reptiles.</div><div class="p"><span class="yv-v" v="24"></span><span class="yv-vlbl">24</span>Therefore God gave them over in the sinful desires of their hearts to sexual impurity for the degrading of their bodies with one another. <span class="yv-v" v="25"></span><span class="yv-vlbl">25</span>They exchanged the truth about God for a lie, and worshiped and served created things rather than the Creator—who is forever praised. Amen.</div><div class="p"><span class="yv-v" v="26"></span><span class="yv-vlbl">26</span>Because of this, God gave them over to shameful lusts. Even their women exchanged natural sexual relations for unnatural ones. <span class="yv-v" v="27"></span><span class="yv-vlbl">27</span>In the same way the men also abandoned natural relations with women and were inflamed with lust for one another. Men committed shameful acts with other men, and received in themselves the due penalty for their error.</div><div class="p"><span class="yv-v" v="28"></span><span class="yv-vlbl">28</span>Furthermore, just as they did not think it worthwhile to retain the knowledge of God, so God gave them over to a depraved mind, so that they do what ought not to be done. <span class="yv-v" v="29"></span><span class="yv-vlbl">29</span>They have become filled with every kind of wickedness, evil, greed and depravity. They are full of envy, murder, strife, deceit and malice. They are gossips, <span class="yv-v" v="30"></span><span class="yv-vlbl">30</span>slanderers, God-haters, insolent, arrogant and boastful; they invent ways of doing evil; they disobey their parents; <span class="yv-v" v="31"></span><span class="yv-vlbl">31</span>they have no understanding, no fidelity, no love, no mercy. <span class="yv-v" v="32"></span><span class="yv-vlbl">32</span>Although they know God’s righteous decree that those who do such things deserve death, they not only continue to do these very things but also approve of those who practice them.</div></div>',
13
- bible_id: 111,
14
- human_reference: 'Romans 1',
12
+ reference: 'Romans 1',
15
13
  };
16
14
  export const mockNIVRom1PassageHTMLHeadingsNotes = {
17
15
  id: 'ROM.1',
18
16
  content:
19
17
  '<div><div class="p"><span class="yv-v" v="1"></span><span class="yv-vlbl">1</span>Paul, a servant of Christ Jesus, called to be an apostle and set apart for the gospel of God— <span class="yv-v" v="2"></span><span class="yv-vlbl">2</span>the gospel he promised beforehand through his prophets in the Holy Scriptures <span class="yv-v" v="3"></span><span class="yv-vlbl">3</span>regarding his Son, who as to his earthly life<span class="yv-n f"><span class="fr">1:3 </span><span class="ft">Or </span><span class="fqa">who according to the flesh</span></span> was a descendant of David, <span class="yv-v" v="4"></span><span class="yv-vlbl">4</span>and who through the Spirit of holiness was appointed the Son of God in power<span class="yv-n f"><span class="fr">1:4 </span><span class="ft">Or </span><span class="fqa">was declared with power to be the Son of God</span></span> by his resurrection from the dead: Jesus Christ our Lord. <span class="yv-v" v="5"></span><span class="yv-vlbl">5</span>Through him we received grace and apostleship to call all the Gentiles to the obedience that comes from<span class="yv-n f"><span class="fr">1:5 </span><span class="ft">Or </span><span class="fqa">that is</span></span> faith for his name’s sake. <span class="yv-v" v="6"></span><span class="yv-vlbl">6</span>And you also are among those Gentiles who are called to belong to Jesus Christ.</div><div class="p"><span class="yv-v" v="7"></span><span class="yv-vlbl">7</span>To all in Rome who are loved by God and called to be his holy people:</div><div class="p">Grace and peace to you from God our Father and from the Lord Jesus Christ.</div><div class="s1 yv-h">Paul’s Longing to Visit Rome</div><div class="p"><span class="yv-v" v="8"></span><span class="yv-vlbl">8</span>First, I thank my God through Jesus Christ for all of you, because your faith is being reported all over the world. <span class="yv-v" v="9"></span><span class="yv-vlbl">9</span>God, whom I serve in my spirit in preaching the gospel of his Son, is my witness how constantly I remember you <span class="yv-v" v="10"></span><span class="yv-vlbl">10</span>in my prayers at all times; and I pray that now at last by God’s will the way may be opened for me to come to you.</div><div class="p"><span class="yv-v" v="11"></span><span class="yv-vlbl">11</span>I long to see you so that I may impart to you some spiritual gift to make you strong— <span class="yv-v" v="12"></span><span class="yv-vlbl">12</span>that is, that you and I may be mutually encouraged by each other’s faith. <span class="yv-v" v="13"></span><span class="yv-vlbl">13</span>I do not want you to be unaware, brothers and sisters,<span class="yv-n f"><span class="fr">1:13 </span><span class="ft">The Greek word for </span><span class="fq">brothers and sisters </span><span class="ft">(<span class="tl">adelphoi</span>) refers here to believers, both men and women, as part of God’s family; also in 7:1, 4; 8:12, 29; 10:1; 11:25; 12:1; 15:14, 30; 16:14, 17.</span></span> that I planned many times to come to you (but have been prevented from doing so until now) in order that I might have a harvest among you, just as I have had among the other Gentiles.</div><div class="p"><span class="yv-v" v="14"></span><span class="yv-vlbl">14</span>I am obligated both to Greeks and non-Greeks, both to the wise and the foolish. <span class="yv-v" v="15"></span><span class="yv-vlbl">15</span>That is why I am so eager to preach the gospel also to you who are in Rome.</div><div class="p"><span class="yv-v" v="16"></span><span class="yv-vlbl">16</span>For I am not ashamed of the gospel, because it is the power of God that brings salvation to everyone who believes: first to the Jew, then to the Gentile. <span class="yv-v" v="17"></span><span class="yv-vlbl">17</span>For in the gospel the righteousness of God is revealed—a righteousness that is by faith from first to last,<span class="yv-n f"><span class="fr">1:17 </span><span class="ft">Or </span><span class="fqa">is from faith to faith</span></span> just as it is written: “The righteous will live by faith.”<span class="yv-n f"><span class="fr">1:17 </span><span class="ft"><span class="ref" usfm="HAB.2.4">Hab. 2:4</span></span></span></div><div class="s1 yv-h">God’s Wrath Against Sinful Humanity</div><div class="p"><span class="yv-v" v="18"></span><span class="yv-vlbl">18</span>The wrath of God is being revealed from heaven against all the godlessness and wickedness of people, who suppress the truth by their wickedness, <span class="yv-v" v="19"></span><span class="yv-vlbl">19</span>since what may be known about God is plain to them, because God has made it plain to them. <span class="yv-v" v="20"></span><span class="yv-vlbl">20</span>For since the creation of the world God’s invisible qualities—his eternal power and divine nature—have been clearly seen, being understood from what has been made, so that people are without excuse.</div><div class="p"><span class="yv-v" v="21"></span><span class="yv-vlbl">21</span>For although they knew God, they neither glorified him as God nor gave thanks to him, but their thinking became futile and their foolish hearts were darkened. <span class="yv-v" v="22"></span><span class="yv-vlbl">22</span>Although they claimed to be wise, they became fools <span class="yv-v" v="23"></span><span class="yv-vlbl">23</span>and exchanged the glory of the immortal God for images made to look like a mortal human being and birds and animals and reptiles.</div><div class="p"><span class="yv-v" v="24"></span><span class="yv-vlbl">24</span>Therefore God gave them over in the sinful desires of their hearts to sexual impurity for the degrading of their bodies with one another. <span class="yv-v" v="25"></span><span class="yv-vlbl">25</span>They exchanged the truth about God for a lie, and worshiped and served created things rather than the Creator—who is forever praised. Amen.</div><div class="p"><span class="yv-v" v="26"></span><span class="yv-vlbl">26</span>Because of this, God gave them over to shameful lusts. Even their women exchanged natural sexual relations for unnatural ones. <span class="yv-v" v="27"></span><span class="yv-vlbl">27</span>In the same way the men also abandoned natural relations with women and were inflamed with lust for one another. Men committed shameful acts with other men, and received in themselves the due penalty for their error.</div><div class="p"><span class="yv-v" v="28"></span><span class="yv-vlbl">28</span>Furthermore, just as they did not think it worthwhile to retain the knowledge of God, so God gave them over to a depraved mind, so that they do what ought not to be done. <span class="yv-v" v="29"></span><span class="yv-vlbl">29</span>They have become filled with every kind of wickedness, evil, greed and depravity. They are full of envy, murder, strife, deceit and malice. They are gossips, <span class="yv-v" v="30"></span><span class="yv-vlbl">30</span>slanderers, God-haters, insolent, arrogant and boastful; they invent ways of doing evil; they disobey their parents; <span class="yv-v" v="31"></span><span class="yv-vlbl">31</span>they have no understanding, no fidelity, no love, no mercy. <span class="yv-v" v="32"></span><span class="yv-vlbl">32</span>Although they know God’s righteous decree that those who do such things deserve death, they not only continue to do these very things but also approve of those who practice them.</div></div>',
20
- bible_id: 111,
21
- human_reference: 'Romans 1',
18
+ reference: 'Romans 1',
22
19
  };
23
20
 
24
21
  export const mockNIVGen1Verse1PassageText = {
25
22
  id: 'GEN.1.1',
26
23
  content: 'In the beginning God created the heavens and the earth.',
27
- bible_id: 111,
28
- human_reference: 'Genesis 1:1',
24
+ reference: 'Genesis 1:1',
29
25
  };
30
26
 
31
27
  export const mockNIVGen1Verse1PassageHTML = {
32
28
  id: 'GEN.1.1',
33
29
  content:
34
30
  '<div><div class="pi"><span class="yv-v" v="1"></span><span class="yv-vlbl">1</span>In the beginning God created the heavens and the earth. </div></div>',
35
- bible_id: 111,
36
- human_reference: 'Genesis 1:1',
31
+ reference: 'Genesis 1:1',
37
32
  };
38
33
 
39
34
  export const mockNIVGen1PassageHTML = {
40
35
  id: 'GEN.1',
41
36
  content:
42
37
  '<div><div class="pi"><span class="yv-v" v="1"></span><span class="yv-vlbl">1</span>In the beginning God created the heavens and the earth. <span class="yv-v" v="2"></span><span class="yv-vlbl">2</span>Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters.</div><div class="li1"><span class="yv-v" v="3"></span><span class="yv-vlbl">3</span>And God said, “Let there be light,” and there was light. <span class="yv-v" v="4"></span><span class="yv-vlbl">4</span>God saw that the light was good, and he separated the light from the darkness. <span class="yv-v" v="5"></span><span class="yv-vlbl">5</span>God called the light “day,” and the darkness he called “night.” And there was evening, and there was morning—the first day.</div><div class="li1"><span class="yv-v" v="6"></span><span class="yv-vlbl">6</span>And God said, “Let there be a vault between the waters to separate water from water.” <span class="yv-v" v="7"></span><span class="yv-vlbl">7</span>So God made the vault and separated the water under the vault from the water above it. And it was so. <span class="yv-v" v="8"></span><span class="yv-vlbl">8</span>God called the vault “sky.” And there was evening, and there was morning—the second day.</div><div class="li1"><span class="yv-v" v="9"></span><span class="yv-vlbl">9</span>And God said, “Let the water under the sky be gathered to one place, and let dry ground appear.” And it was so. <span class="yv-v" v="10"></span><span class="yv-vlbl">10</span>God called the dry ground “land,” and the gathered waters he called “seas.” And God saw that it was good.</div><div class="pi"><span class="yv-v" v="11"></span><span class="yv-vlbl">11</span>Then God said, “Let the land produce vegetation: seed-bearing plants and trees on the land that bear fruit with seed in it, according to their various kinds.” And it was so. <span class="yv-v" v="12"></span><span class="yv-vlbl">12</span>The land produced vegetation: plants bearing seed according to their kinds and trees bearing fruit with seed in it according to their kinds. And God saw that it was good. <span class="yv-v" v="13"></span><span class="yv-vlbl">13</span>And there was evening, and there was morning—the third day.</div><div class="li1"><span class="yv-v" v="14"></span><span class="yv-vlbl">14</span>And God said, “Let there be lights in the vault of the sky to separate the day from the night, and let them serve as signs to mark sacred times, and days and years, <span class="yv-v" v="15"></span><span class="yv-vlbl">15</span>and let them be lights in the vault of the sky to give light on the earth.” And it was so. <span class="yv-v" v="16"></span><span class="yv-vlbl">16</span>God made two great lights—the greater light to govern the day and the lesser light to govern the night. He also made the stars. <span class="yv-v" v="17"></span><span class="yv-vlbl">17</span>God set them in the vault of the sky to give light on the earth, <span class="yv-v" v="18"></span><span class="yv-vlbl">18</span>to govern the day and the night, and to separate light from darkness. And God saw that it was good. <span class="yv-v" v="19"></span><span class="yv-vlbl">19</span>And there was evening, and there was morning—the fourth day.</div><div class="li1"><span class="yv-v" v="20"></span><span class="yv-vlbl">20</span>And God said, “Let the water teem with living creatures, and let birds fly above the earth across the vault of the sky.” <span class="yv-v" v="21"></span><span class="yv-vlbl">21</span>So God created the great creatures of the sea and every living thing with which the water teems and that moves about in it, according to their kinds, and every winged bird according to its kind. And God saw that it was good. <span class="yv-v" v="22"></span><span class="yv-vlbl">22</span>God blessed them and said, “Be fruitful and increase in number and fill the water in the seas, and let the birds increase on the earth.” <span class="yv-v" v="23"></span><span class="yv-vlbl">23</span>And there was evening, and there was morning—the fifth day.</div><div class="li1"><span class="yv-v" v="24"></span><span class="yv-vlbl">24</span>And God said, “Let the land produce living creatures according to their kinds: the livestock, the creatures that move along the ground, and the wild animals, each according to its kind.” And it was so. <span class="yv-v" v="25"></span><span class="yv-vlbl">25</span>God made the wild animals according to their kinds, the livestock according to their kinds, and all the creatures that move along the ground according to their kinds. And God saw that it was good.</div><div class="pi"><span class="yv-v" v="26"></span><span class="yv-vlbl">26</span>Then God said, “Let us make mankind in our image, in our likeness, so that they may rule over the fish in the sea and the birds in the sky, over the livestock and all the wild animals, and over all the creatures that move along the ground.”</div><div class="q1"><span class="yv-v" v="27"></span><span class="yv-vlbl">27</span>So God created mankind in his own image,</div><div class="q2">in the image of God he created them;</div><div class="q2">male and female he created them.</div><div class="pi"><span class="yv-v" v="28"></span><span class="yv-vlbl">28</span>God blessed them and said to them, “Be fruitful and increase in number; fill the earth and subdue it. Rule over the fish in the sea and the birds in the sky and over every living creature that moves on the ground.”</div><div class="pi"><span class="yv-v" v="29"></span><span class="yv-vlbl">29</span>Then God said, “I give you every seed-bearing plant on the face of the whole earth and every tree that has fruit with seed in it. They will be yours for food. <span class="yv-v" v="30"></span><span class="yv-vlbl">30</span>And to all the beasts of the earth and all the birds in the sky and all the creatures that move along the ground—everything that has the breath of life in it—I give every green plant for food.” And it was so.</div><div class="pi"><span class="yv-v" v="31"></span><span class="yv-vlbl">31</span>God saw all that he had made, and it was very good. And there was evening, and there was morning—the sixth day.</div></div>',
43
- bible_id: 111,
44
- human_reference: 'Genesis 1',
38
+ reference: 'Genesis 1',
45
39
  };
46
40
  export const mockNIVGen1PassageText = {
47
41
  id: 'GEN.1',
48
42
  content:
49
43
  'In the beginning God created the heavens and the earth. Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters. And God said, “Let there be light,” and there was light. God saw that the light was good, and he separated the light from the darkness. God called the light “day,” and the darkness he called “night.” And there was evening, and there was morning—the first day. And God said, “Let there be a vault between the waters to separate water from water.” So God made the vault and separated the water under the vault from the water above it. And it was so. God called the vault “sky.” And there was evening, and there was morning—the second day. And God said, “Let the water under the sky be gathered to one place, and let dry ground appear.” And it was so. God called the dry ground “land,” and the gathered waters he called “seas.” And God saw that it was good. Then God said, “Let the land produce vegetation: seed-bearing plants and trees on the land that bear fruit with seed in it, according to their various kinds.” And it was so. The land produced vegetation: plants bearing seed according to their kinds and trees bearing fruit with seed in it according to their kinds. And God saw that it was good. And there was evening, and there was morning—the third day. And God said, “Let there be lights in the vault of the sky to separate the day from the night, and let them serve as signs to mark sacred times, and days and years, and let them be lights in the vault of the sky to give light on the earth.” And it was so. God made two great lights—the greater light to govern the day and the lesser light to govern the night. He also made the stars. God set them in the vault of the sky to give light on the earth, to govern the day and the night, and to separate light from darkness. And God saw that it was good. And there was evening, and there was morning—the fourth day. And God said, “Let the water teem with living creatures, and let birds fly above the earth across the vault of the sky.” So God created the great creatures of the sea and every living thing with which the water teems and that moves about in it, according to their kinds, and every winged bird according to its kind. And God saw that it was good. God blessed them and said, “Be fruitful and increase in number and fill the water in the seas, and let the birds increase on the earth.” And there was evening, and there was morning—the fifth day. And God said, “Let the land produce living creatures according to their kinds: the livestock, the creatures that move along the ground, and the wild animals, each according to its kind.” And it was so. God made the wild animals according to their kinds, the livestock according to their kinds, and all the creatures that move along the ground according to their kinds. And God saw that it was good. Then God said, “Let us make mankind in our image, in our likeness, so that they may rule over the fish in the sea and the birds in the sky, over the livestock and all the wild animals, and over all the creatures that move along the ground.” So God created mankind in his own image, in the image of God he created them; male and female he created them. God blessed them and said to them, “Be fruitful and increase in number; fill the earth and subdue it. Rule over the fish in the sea and the birds in the sky and over every living creature that moves on the ground.” Then God said, “I give you every seed-bearing plant on the face of the whole earth and every tree that has fruit with seed in it. They will be yours for food. And to all the beasts of the earth and all the birds in the sky and all the creatures that move along the ground—everything that has the breath of life in it—I give every green plant for food.” And it was so. God saw all that he had made, and it was very good. And there was evening, and there was morning—the sixth day.',
50
- bible_id: 111,
51
- human_reference: 'Genesis 1',
44
+ reference: 'Genesis 1',
52
45
  };
@@ -1,178 +1,163 @@
1
1
  export const mockGen1Verse1 = {
2
2
  id: '1',
3
- reference: 'Genesis 1:1',
4
- book_id: 'GEN',
5
- chapter_id: '1',
6
3
  passage_id: 'GEN.1.1',
4
+ title: '1',
7
5
  };
8
6
 
9
7
  export const mockGen1Verses = [
10
8
  {
11
9
  id: '1',
12
- reference: 'Genesis 1:1',
13
- book_id: 'GEN',
14
- chapter_id: '1',
15
10
  passage_id: 'GEN.1.1',
11
+ title: '1',
16
12
  },
17
13
  {
18
14
  id: '2',
19
- reference: 'Genesis 1:2',
20
- book_id: 'GEN',
21
- chapter_id: '1',
22
15
  passage_id: 'GEN.1.2',
16
+ title: '2',
23
17
  },
24
18
  {
25
19
  id: '3',
26
- reference: 'Genesis 1:3',
27
- book_id: 'GEN',
28
- chapter_id: '1',
29
20
  passage_id: 'GEN.1.3',
21
+ title: '3',
30
22
  },
31
23
  {
32
24
  id: '4',
33
- reference: 'Genesis 1:4',
34
- book_id: 'GEN',
35
- chapter_id: '1',
36
25
  passage_id: 'GEN.1.4',
26
+ title: '4',
37
27
  },
38
28
  {
39
29
  id: '5',
40
- reference: 'Genesis 1:5',
41
- book_id: 'GEN',
42
- chapter_id: '1',
43
30
  passage_id: 'GEN.1.5',
31
+ title: '5',
44
32
  },
45
33
  {
46
34
  id: '6',
47
- reference: 'Genesis 1:6',
48
- book_id: 'GEN',
49
- chapter_id: '1',
50
35
  passage_id: 'GEN.1.6',
36
+ title: '6',
51
37
  },
52
38
  {
53
39
  id: '7',
54
- reference: 'Genesis 1:7',
55
- book_id: 'GEN',
56
- chapter_id: '1',
57
40
  passage_id: 'GEN.1.7',
41
+ title: '7',
58
42
  },
59
43
  {
60
44
  id: '8',
61
- reference: 'Genesis 1:8',
62
- book_id: 'GEN',
63
- chapter_id: '1',
64
45
  passage_id: 'GEN.1.8',
46
+ title: '8',
65
47
  },
66
48
  {
67
49
  id: '9',
68
- reference: 'Genesis 1:9',
69
- book_id: 'GEN',
70
- chapter_id: '1',
71
50
  passage_id: 'GEN.1.9',
51
+ title: '9',
72
52
  },
73
53
  {
74
54
  id: '10',
75
- reference: 'Genesis 1:10',
76
- book_id: 'GEN',
77
- chapter_id: '1',
78
55
  passage_id: 'GEN.1.10',
56
+ title: '10',
79
57
  },
80
58
  {
81
59
  id: '11',
82
- reference: 'Genesis 1:11',
83
- book_id: 'GEN',
84
- chapter_id: '1',
85
60
  passage_id: 'GEN.1.11',
61
+ title: '11',
86
62
  },
87
63
  {
88
64
  id: '12',
89
- reference: 'Genesis 1:12',
90
- book_id: 'GEN',
91
- chapter_id: '1',
92
65
  passage_id: 'GEN.1.12',
66
+ title: '12',
93
67
  },
94
68
  {
95
69
  id: '13',
96
- reference: 'Genesis 1:13',
97
- book_id: 'GEN',
98
- chapter_id: '1',
99
70
  passage_id: 'GEN.1.13',
71
+ title: '13',
100
72
  },
101
73
  {
102
74
  id: '14',
103
- reference: 'Genesis 1:14',
104
- book_id: 'GEN',
105
- chapter_id: '1',
106
75
  passage_id: 'GEN.1.14',
76
+ title: '14',
107
77
  },
108
78
  {
109
79
  id: '15',
110
- reference: 'Genesis 1:15',
111
- book_id: 'GEN',
112
- chapter_id: '1',
113
80
  passage_id: 'GEN.1.15',
81
+ title: '15',
114
82
  },
115
83
  {
116
84
  id: '16',
117
- reference: 'Genesis 1:16',
118
- book_id: 'GEN',
119
- chapter_id: '1',
120
85
  passage_id: 'GEN.1.16',
86
+ title: '16',
121
87
  },
122
88
  {
123
89
  id: '17',
124
- reference: 'Genesis 1:17',
125
- book_id: 'GEN',
126
- chapter_id: '1',
127
90
  passage_id: 'GEN.1.17',
91
+ title: '17',
128
92
  },
129
93
  {
130
94
  id: '18',
131
- reference: 'Genesis 1:18',
132
- book_id: 'GEN',
133
- chapter_id: '1',
134
95
  passage_id: 'GEN.1.18',
96
+ title: '18',
135
97
  },
136
98
  {
137
99
  id: '19',
138
- reference: 'Genesis 1:19',
139
- book_id: 'GEN',
140
- chapter_id: '1',
141
100
  passage_id: 'GEN.1.19',
101
+ title: '19',
142
102
  },
143
103
  {
144
104
  id: '20',
145
- reference: 'Genesis 1:20',
146
- book_id: 'GEN',
147
- chapter_id: '1',
148
105
  passage_id: 'GEN.1.20',
106
+ title: '20',
149
107
  },
150
108
  {
151
109
  id: '21',
152
- reference: 'Genesis 1:21',
153
- book_id: 'GEN',
154
- chapter_id: '1',
155
110
  passage_id: 'GEN.1.21',
111
+ title: '21',
156
112
  },
157
113
  {
158
114
  id: '22',
159
- reference: 'Genesis 1:22',
160
- book_id: 'GEN',
161
- chapter_id: '1',
162
115
  passage_id: 'GEN.1.22',
116
+ title: '22',
163
117
  },
164
118
  {
165
119
  id: '23',
166
- reference: 'Genesis 1:23',
167
- book_id: 'GEN',
168
- chapter_id: '1',
169
120
  passage_id: 'GEN.1.23',
121
+ title: '23',
170
122
  },
171
123
  {
172
124
  id: '24',
173
- reference: 'Genesis 1:24',
174
- book_id: 'GEN',
175
- chapter_id: '1',
176
125
  passage_id: 'GEN.1.24',
126
+ title: '24',
127
+ },
128
+ {
129
+ id: '25',
130
+ passage_id: 'GEN.1.25',
131
+ title: '25',
132
+ },
133
+ {
134
+ id: '26',
135
+ passage_id: 'GEN.1.26',
136
+ title: '26',
137
+ },
138
+ {
139
+ id: '27',
140
+ passage_id: 'GEN.1.27',
141
+ title: '27',
142
+ },
143
+ {
144
+ id: '28',
145
+ passage_id: 'GEN.1.28',
146
+ title: '28',
147
+ },
148
+ {
149
+ id: '29',
150
+ passage_id: 'GEN.1.29',
151
+ title: '29',
152
+ },
153
+ {
154
+ id: '30',
155
+ passage_id: 'GEN.1.30',
156
+ title: '30',
157
+ },
158
+ {
159
+ id: '31',
160
+ passage_id: 'GEN.1.31',
161
+ title: '31',
177
162
  },
178
163
  ];
@@ -10,8 +10,8 @@ export const mockVersionKJV: BibleVersion = {
10
10
  info: null,
11
11
  publisher_url: null,
12
12
  language_tag: 'en',
13
- local_abbreviation: 'KJV',
14
- local_title: 'King James Version',
13
+ localized_abbreviation: 'KJV',
14
+ localized_title: 'King James Version',
15
15
  title: 'King James Version',
16
16
  books: [
17
17
  'GEN',
@@ -95,8 +95,8 @@ export const mockVersions: BibleVersion[] = [
95
95
  info: null,
96
96
  publisher_url: 'https://www.biblica.com/yv-learn-more/',
97
97
  language_tag: 'en',
98
- local_abbreviation: 'NIrV',
99
- local_title: 'New International Reader’s Version',
98
+ localized_abbreviation: 'NIrV',
99
+ localized_title: 'New International Reader’s Version',
100
100
  title: 'New International Reader’s Version 2014',
101
101
  books: [
102
102
  'GEN',
@@ -179,8 +179,8 @@ export const mockVersions: BibleVersion[] = [
179
179
  info: null,
180
180
  publisher_url: 'https://www.biblica.com/yv-learn-more/',
181
181
  language_tag: 'en',
182
- local_abbreviation: 'NIV',
183
- local_title: 'New International Version',
182
+ localized_abbreviation: 'NIV',
183
+ localized_title: 'New International Version',
184
184
  title: 'New International Version 2011',
185
185
  books: [
186
186
  'GEN',
@@ -263,8 +263,8 @@ export const mockVersions: BibleVersion[] = [
263
263
  info: null,
264
264
  publisher_url: 'https://www.biblica.com/yv-learn-more/',
265
265
  language_tag: 'en',
266
- local_abbreviation: 'NIVUK',
267
- local_title: 'New International Version (Anglicised)',
266
+ localized_abbreviation: 'NIVUK',
267
+ localized_title: 'New International Version (Anglicised)',
268
268
  title: 'New International Version (Anglicized) 2011',
269
269
  books: [
270
270
  'GEN',
@@ -347,8 +347,8 @@ export const mockVersions: BibleVersion[] = [
347
347
  info: null,
348
348
  publisher_url: null,
349
349
  language_tag: 'en',
350
- local_abbreviation: 'AMP',
351
- local_title: 'Amplified Bible',
350
+ localized_abbreviation: 'AMP',
351
+ localized_title: 'Amplified Bible',
352
352
  title: 'Amplified Bible',
353
353
  books: [
354
354
  'GEN',
@@ -431,8 +431,8 @@ export const mockVersions: BibleVersion[] = [
431
431
  info: null,
432
432
  publisher_url: null,
433
433
  language_tag: 'en',
434
- local_abbreviation: 'NASB1995',
435
- local_title: 'New American Standard Bible - NASB 1995',
434
+ localized_abbreviation: 'NASB1995',
435
+ localized_title: 'New American Standard Bible - NASB 1995',
436
436
  title: 'New American Standard Bible 1995',
437
437
  books: [
438
438
  'GEN',
@@ -515,8 +515,8 @@ export const mockVersions: BibleVersion[] = [
515
515
  info: null,
516
516
  publisher_url: null,
517
517
  language_tag: 'en',
518
- local_abbreviation: 'NASB2020',
519
- local_title: 'New American Standard Bible - NASB',
518
+ localized_abbreviation: 'NASB2020',
519
+ localized_title: 'New American Standard Bible - NASB',
520
520
  title: 'New American Standard Bible 2020',
521
521
  books: [
522
522
  'GEN',
@@ -597,8 +597,8 @@ export const mockVersions: BibleVersion[] = [
597
597
  info: null,
598
598
  publisher_url: null,
599
599
  language_tag: 'en',
600
- local_abbreviation: 'ASV',
601
- local_title: 'American Standard Version',
600
+ localized_abbreviation: 'ASV',
601
+ localized_title: 'American Standard Version',
602
602
  title: 'American Standard Version',
603
603
  books: [
604
604
  'GEN',
@@ -679,8 +679,8 @@ export const mockVersions: BibleVersion[] = [
679
679
  info: null,
680
680
  publisher_url: null,
681
681
  language_tag: 'en',
682
- local_abbreviation: 'CPDV',
683
- local_title: 'Catholic Public Domain Version',
682
+ localized_abbreviation: 'CPDV',
683
+ localized_title: 'Catholic Public Domain Version',
684
684
  title: 'Catholic Public Domain Version',
685
685
  books: [
686
686
  'GEN',
@@ -770,8 +770,8 @@ export const mockVersions: BibleVersion[] = [
770
770
  info: null,
771
771
  publisher_url: null,
772
772
  language_tag: 'en',
773
- local_abbreviation: 'TOJB2011',
774
- local_title: 'The Orthodox Jewish Bible',
773
+ localized_abbreviation: 'TOJB2011',
774
+ localized_title: 'The Orthodox Jewish Bible',
775
775
  title: 'The Orthodox Jewish Bible',
776
776
  books: [
777
777
  'GEN',
@@ -852,8 +852,8 @@ export const mockVersions: BibleVersion[] = [
852
852
  info: null,
853
853
  publisher_url: null,
854
854
  language_tag: 'en',
855
- local_abbreviation: 'WEBUS',
856
- local_title: "World English Bible, American English Edition, without Strong's Numbers",
855
+ localized_abbreviation: 'WEBUS',
856
+ localized_title: "World English Bible, American English Edition, without Strong's Numbers",
857
857
  title: "World English Bible, American English Edition, without Strong's Numbers",
858
858
  books: [
859
859
  'GEN',
@@ -950,8 +950,8 @@ export const mockVersions: BibleVersion[] = [
950
950
  info: null,
951
951
  publisher_url: null,
952
952
  language_tag: 'en',
953
- local_abbreviation: 'FBV',
954
- local_title: 'Free Bible Version',
953
+ localized_abbreviation: 'FBV',
954
+ localized_title: 'Free Bible Version',
955
955
  title: 'Free Bible Version',
956
956
  books: [
957
957
  'GEN',
@@ -1034,8 +1034,8 @@ export const mockVersions: BibleVersion[] = [
1034
1034
  info: null,
1035
1035
  publisher_url: null,
1036
1036
  language_tag: 'en',
1037
- local_abbreviation: 'LSV',
1038
- local_title: 'Literal Standard Version',
1037
+ localized_abbreviation: 'LSV',
1038
+ localized_title: 'Literal Standard Version',
1039
1039
  title: 'Literal Standard Version',
1040
1040
  books: [
1041
1041
  'GEN',
@@ -1117,8 +1117,8 @@ export const mockVersions: BibleVersion[] = [
1117
1117
  info: null,
1118
1118
  publisher_url: null,
1119
1119
  language_tag: 'en',
1120
- local_abbreviation: 'BSB',
1121
- local_title: 'English: Berean Standard Bible',
1120
+ localized_abbreviation: 'BSB',
1121
+ localized_title: 'English: Berean Standard Bible',
1122
1122
  title: 'Berean Standard Bible',
1123
1123
  books: [
1124
1124
  'GEN',
@@ -1200,8 +1200,8 @@ export const mockVersions: BibleVersion[] = [
1200
1200
  info: null,
1201
1201
  publisher_url: null,
1202
1202
  language_tag: 'en',
1203
- local_abbreviation: 'TCENT',
1204
- local_title: 'The Text-Critical English New Testament',
1203
+ localized_abbreviation: 'TCENT',
1204
+ localized_title: 'The Text-Critical English New Testament',
1205
1205
  title: 'The Text-Critical English New Testament',
1206
1206
  books: [
1207
1207
  'MAT',
@@ -75,8 +75,10 @@ describe('BibleClient', () => {
75
75
  expect(books.data).toHaveLength(66);
76
76
  expect(books.data[0]).toHaveProperty('id', 'GEN');
77
77
  expect(books.data[0]).toHaveProperty('title', 'Genesis');
78
+ expect(books.data[0]).toHaveProperty('full_title', 'The First Book of Moses, Called Genesis');
78
79
  expect(books.data[0]).toHaveProperty('abbreviation', 'Gen');
79
80
  expect(books.data[0]).toHaveProperty('canon', 'ot');
81
+ expect(books.data[0]?.chapters).toHaveLength(50);
80
82
  });
81
83
  });
82
84
 
@@ -116,7 +118,6 @@ describe('BibleClient', () => {
116
118
 
117
119
  expect(chapters.data).toHaveLength(50);
118
120
  expect(chapters.data[0]).toHaveProperty('id', '1');
119
- expect(chapters.data[0]).toHaveProperty('book_id', 'GEN');
120
121
  expect(chapters.data[0]).toHaveProperty('passage_id', 'GEN.1');
121
122
  expect(chapters.data[0]).toHaveProperty('title', '1');
122
123
  expect(chapters.data[0]?.verses).toHaveLength(31);
@@ -131,7 +132,6 @@ describe('BibleClient', () => {
131
132
  expect(success).toBe(true);
132
133
 
133
134
  expect(chapter).toHaveProperty('id', '1');
134
- expect(chapter).toHaveProperty('book_id', 'GEN');
135
135
  expect(chapter).toHaveProperty('passage_id', 'GEN.1');
136
136
  expect(chapter).toHaveProperty('title', '1');
137
137
  expect(chapter.verses).toHaveLength(31);
@@ -154,11 +154,9 @@ describe('BibleClient', () => {
154
154
  const { success } = BibleVerseSchema.safeParse(verses.data[0]);
155
155
  expect(success).toBe(true);
156
156
 
157
- expect(verses.data).toHaveLength(24);
157
+ expect(verses.data).toHaveLength(31);
158
158
  expect(verses.data[0]).toHaveProperty('id', '1');
159
- expect(verses.data[0]).toHaveProperty('reference', 'Genesis 1:1');
160
- expect(verses.data[0]).toHaveProperty('book_id', 'GEN');
161
- expect(verses.data[0]).toHaveProperty('chapter_id', '1');
159
+ expect(verses.data[0]).toHaveProperty('title', '1');
162
160
  expect(verses.data[0]).toHaveProperty('passage_id', 'GEN.1.1');
163
161
  });
164
162
  });
@@ -171,9 +169,7 @@ describe('BibleClient', () => {
171
169
  expect(success).toBe(true);
172
170
 
173
171
  expect(verse).toHaveProperty('id', '1');
174
- expect(verse).toHaveProperty('reference', 'Genesis 1:1');
175
- expect(verse).toHaveProperty('book_id', 'GEN');
176
- expect(verse).toHaveProperty('chapter_id', '1');
172
+ expect(verse).toHaveProperty('title', '1');
177
173
  expect(verse).toHaveProperty('passage_id', 'GEN.1.1');
178
174
  });
179
175
 
@@ -210,8 +206,7 @@ describe('BibleClient', () => {
210
206
  id: 'GEN.1.1',
211
207
  content:
212
208
  '<div><div class="pi"><span class="yv-v" v="1"></span><span class="yv-vlbl">1</span>In the beginning God created the heavens and the earth. </div></div>',
213
- bible_id: 111,
214
- human_reference: 'Genesis 1:1',
209
+ reference: 'Genesis 1:1',
215
210
  });
216
211
  });
217
212
 
@@ -222,8 +217,7 @@ describe('BibleClient', () => {
222
217
  expect(success).toBe(true);
223
218
 
224
219
  expect(passage).toHaveProperty('id', 'GEN.1');
225
- expect(passage).toHaveProperty('bible_id', 111);
226
- expect(passage).toHaveProperty('human_reference', 'Genesis 1');
220
+ expect(passage).toHaveProperty('reference', 'Genesis 1');
227
221
  });
228
222
 
229
223
  it('should fetch a passage with html format by default', async () => {
@@ -242,7 +236,6 @@ describe('BibleClient', () => {
242
236
  const passage = await bibleClient.getPassage(111, 'ROM.1', 'html', true);
243
237
 
244
238
  expect(passage.id).toBe('ROM.1');
245
- expect(passage.bible_id).toBe(111);
246
239
  expect(passage.content).toContain('yv-h');
247
240
  expect(passage.content).not.toContain('yv-n');
248
241
  });
@@ -251,7 +244,6 @@ describe('BibleClient', () => {
251
244
  const passage = await bibleClient.getPassage(111, 'ROM.1', 'html', undefined, true);
252
245
 
253
246
  expect(passage.id).toBe('ROM.1');
254
- expect(passage.bible_id).toBe(111);
255
247
  expect(passage.content).toContain('yv-n');
256
248
  expect(passage.content).not.toContain('yv-h');
257
249
  });
@@ -260,7 +252,6 @@ describe('BibleClient', () => {
260
252
  const passage = await bibleClient.getPassage(111, 'ROM.1', 'html', true, true);
261
253
 
262
254
  expect(passage.id).toBe('ROM.1');
263
- expect(passage.bible_id).toBe(111);
264
255
  expect(passage.content).toContain('yv-n');
265
256
  expect(passage.content).toContain('yv-h');
266
257
  });
@@ -1,8 +1,17 @@
1
- import { describe, it, expect, beforeEach } from 'vitest';
1
+ import { describe, it, expect, beforeEach, beforeAll, afterEach, afterAll } from 'vitest';
2
2
  import { ApiClient } from '../client';
3
3
  import { http, HttpResponse } from 'msw';
4
4
  import { server } from './setup';
5
5
 
6
+ // We always want this test to hit msw since this is only testing
7
+ // the setup of and ApiClient instance and not actually hitting
8
+ // any real APIs.
9
+ if (process.env.INTEGRATION_TESTS) {
10
+ beforeAll(() => server.listen());
11
+ afterEach(() => server.resetHandlers());
12
+ afterAll(() => server.close());
13
+ }
14
+
6
15
  describe('ApiClient', () => {
7
16
  let apiClient: ApiClient;
8
17