File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export const surahNamesTr: (SurahName | [])[] = [
15
15
[ "Yusuf" , "Peygamber Yusuf" ] ,
16
16
[ "Rad" , "Gök gürültüsü" ] ,
17
17
[ "İbrahim" , "Peygamber İbrahim" ] ,
18
- [ "Hicr" , "Medine’nin kuzeyinde vaktiyle Semûd kavminin yaşadığı bir yerin adıdır. " ] ,
18
+ [ "Hicr" , "Taşlı sahe " ] ,
19
19
[ "Nahl" , "Bal arısı" ] ,
20
20
[ "İsra" , "Geceleyin yürütmek" ] ,
21
21
[ "Kehf" , "Mağara" ] ,
@@ -74,7 +74,7 @@ export const surahNamesTr: (SurahName | [])[] = [
74
74
[ "Nuh" , "Peygamber Nuh" ] ,
75
75
[ "Cin" , "Cin" ] ,
76
76
[ "Müzzemmil" , "Örtünüp bürünen" ] ,
77
- [ "Müddessir" , "Örtünüp bürünen " ] ,
77
+ [ "Müddessir" , "Bürünüp sarınan " ] ,
78
78
[ "Kıyame" , "Kıyamet" ] ,
79
79
[ "İnsan" , "İnsan" ] ,
80
80
[ "Mürselat" , "Gönderilenler" ] ,
Original file line number Diff line number Diff line change
1
+ import {
2
+ meta ,
3
+ surahNamesAz ,
4
+ surahNamesEn ,
5
+ surahNamesRu ,
6
+ surahNamesTr
7
+ } from "../src"
8
+
9
+ const languages = {
10
+ en : surahNamesEn ,
11
+ ru : surahNamesRu ,
12
+ az : surahNamesAz ,
13
+ tr : surahNamesTr
14
+ }
15
+
16
+ describe ( "getAyahCountInSurah" , ( ) => {
17
+ it ( "should return correct ayah count for first surah" , ( ) => {
18
+ Object . values ( languages ) . forEach ( ( language ) => {
19
+ expect ( language . length ) . toBe ( meta . numSurahs + 1 )
20
+ } )
21
+ } )
22
+ } )
You can’t perform that action at this time.
0 commit comments