@@ -37,7 +37,7 @@ describe("strapiLoader - Extended Features", () => {
3737 } ) ;
3838
3939 describe ( "Custom ID Generator" , ( ) => {
40- it ( "powinien używać niestandardowego generatora ID " , async ( ) => {
40+ it ( "should use custom ID generator " , async ( ) => {
4141 const mockData = [
4242 { documentId : "1" , slug : "test-slug-1" , title : "Test Title 1" } ,
4343 { documentId : "2" , slug : "test-slug-2" , title : "Test Title 2" } ,
@@ -63,7 +63,7 @@ describe("strapiLoader - Extended Features", () => {
6363 } ) ;
6464 } ) ;
6565
66- it ( "powinien używać złożonego generatora ID " , async ( ) => {
66+ it ( "should use complex ID generator " , async ( ) => {
6767 const mockData = [
6868 { documentId : "1" , category : "blog" , slug : "post-1" } ,
6969 ] ;
@@ -84,7 +84,7 @@ describe("strapiLoader - Extended Features", () => {
8484 } ) ;
8585 } ) ;
8686
87- it ( "powinien działać dla pojedynczego elementu z niestandardowym ID" , async ( ) => {
87+ it ( "should work for single item with custom ID" , async ( ) => {
8888 const mockData = {
8989 documentId : "1" ,
9090 slug : "single-page" ,
@@ -108,7 +108,7 @@ describe("strapiLoader - Extended Features", () => {
108108 } ) ;
109109
110110 describe ( "Custom Collection Name" , ( ) => {
111- it ( "powinien używać niestandardowej nazwy kolekcji " , async ( ) => {
111+ it ( "should use custom collection name " , async ( ) => {
112112 const mockData = [
113113 { documentId : "1" , title : "Test Title 1" } ,
114114 ] ;
@@ -130,7 +130,7 @@ describe("strapiLoader - Extended Features", () => {
130130 ) ;
131131 } ) ;
132132
133- it ( "powinien używać domyślnej nazwy gdy collectionName nie jest podane " , async ( ) => {
133+ it ( "should use default name when collectionName is not provided " , async ( ) => {
134134 const mockData = [
135135 { documentId : "1" , title : "Test Title 1" } ,
136136 ] ;
@@ -146,7 +146,7 @@ describe("strapiLoader - Extended Features", () => {
146146 } ) ;
147147
148148 describe ( "Locale Support" , ( ) => {
149- it ( "powinien obsłużyć pojedynczą locale" , async ( ) => {
149+ it ( "should handle single locale" , async ( ) => {
150150 const mockData = [
151151 { documentId : "en-1" , title : "English Title" , locale : "en" } ,
152152 { documentId : "en-2" , title : "English Title 2" , locale : "en" } ,
@@ -184,7 +184,7 @@ describe("strapiLoader - Extended Features", () => {
184184 } ) ;
185185 } ) ;
186186
187- it ( "powinien obsłużyć wiele lokalizacji " , async ( ) => {
187+ it ( "should handle multiple locales " , async ( ) => {
188188 const mockDataEN = [
189189 { documentId : "doc1" , title : "English Title" , locale : "en" } ,
190190 ] ;
@@ -230,7 +230,7 @@ describe("strapiLoader - Extended Features", () => {
230230 } ) ;
231231 } ) ;
232232
233- it ( "powinien obsłużyć wiele lokalizacji z pustą odpowiedzią dla jednej " , async ( ) => {
233+ it ( "should handle multiple locales with empty response for one " , async ( ) => {
234234 const mockDataEN = [
235235 { documentId : "doc2" , title : "English Title" , locale : "en" } ,
236236 ] ;
@@ -255,7 +255,7 @@ describe("strapiLoader - Extended Features", () => {
255255 } ) ;
256256 } ) ;
257257
258- it ( "powinien obsłużyć wiele lokalizacji dla pojedynczego typu " , async ( ) => {
258+ it ( "should handle multiple locales for single type " , async ( ) => {
259259 const mockDataEN = { documentId : "home1" , title : "English Title" , locale : "en" } ;
260260 const mockDataDE = { documentId : "home1" , title : "German Title" , locale : "de" } ;
261261
@@ -283,7 +283,7 @@ describe("strapiLoader - Extended Features", () => {
283283 } ) ;
284284 } ) ;
285285
286- it ( "powinien obsłużyć sytuację gdy wszystkie lokalizacje są puste " , async ( ) => {
286+ it ( "should handle situation when all locales are empty " , async ( ) => {
287287 ( fetchContent as jest . Mock )
288288 . mockResolvedValueOnce ( { data : [ ] } )
289289 . mockResolvedValueOnce ( { data : [ ] } ) ;
@@ -300,7 +300,7 @@ describe("strapiLoader - Extended Features", () => {
300300 ) ;
301301 } ) ;
302302
303- it ( "powinien łączyć locale z innymi parametrami zapytania " , async ( ) => {
303+ it ( "should combine locale with other query parameters " , async ( ) => {
304304 const mockData = [
305305 { documentId : "pub1" , title : "Published Title" , locale : "en" } ,
306306 ] ;
@@ -328,7 +328,7 @@ describe("strapiLoader - Extended Features", () => {
328328 } ) ;
329329
330330 describe ( "Combined Features" , ( ) => {
331- it ( "powinien działać z niestandardowym ID, nazwą kolekcji i locale" , async ( ) => {
331+ it ( "should work with custom ID, collection name and locale" , async ( ) => {
332332 const mockDataEN = [
333333 { documentId : "about-en" , slug : "about" , title : "About Us" } ,
334334 ] ;
@@ -365,7 +365,7 @@ describe("strapiLoader - Extended Features", () => {
365365 } ) ;
366366 } ) ;
367367
368- it ( "powinien działać z niestandardowym ID i pojedynczą locale" , async ( ) => {
368+ it ( "should work with custom ID and single locale" , async ( ) => {
369369 const mockData = [
370370 { documentId : "post-doc-1" , slug : "post-1" , title : "Post 1" } ,
371371 ] ;
@@ -393,7 +393,7 @@ describe("strapiLoader - Extended Features", () => {
393393 } ) ;
394394
395395 describe ( "Backward Compatibility" , ( ) => {
396- it ( "powinien działać bez nowych opcji (kompatybilność wsteczna )" , async ( ) => {
396+ it ( "should work without new options (backward compatible )" , async ( ) => {
397397 const mockData = [
398398 { documentId : "bc-1" , title : "Test Title 1" } ,
399399 { documentId : "bc-2" , title : "Test Title 2" } ,
0 commit comments