@@ -17,7 +17,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
1717 it ( "Bundle size." , async ( ) => {
1818 await assertBundleSize (
1919 new URL ( "./LoadingCacheValue.mjs" , import . meta. url ) ,
20- 650
20+ 650 ,
2121 ) ;
2222 } ) ;
2323
@@ -29,7 +29,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
2929 new Cache ( ) ,
3030 "a" ,
3131 Promise . resolve ( ) ,
32- new AbortController ( )
32+ new AbortController ( ) ,
3333 ) ;
3434 } , new TypeError ( "Argument 1 `loading` must be a `Loading` instance." ) ) ;
3535 } ) ;
@@ -42,7 +42,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
4242 true ,
4343 "a" ,
4444 Promise . resolve ( ) ,
45- new AbortController ( )
45+ new AbortController ( ) ,
4646 ) ;
4747 } , new TypeError ( "Argument 2 `cache` must be a `Cache` instance." ) ) ;
4848 } ) ;
@@ -55,7 +55,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
5555 // @ts -expect-error Testing invalid.
5656 true ,
5757 Promise . resolve ( ) ,
58- new AbortController ( )
58+ new AbortController ( ) ,
5959 ) ;
6060 } , new TypeError ( "Argument 3 `cacheKey` must be a string." ) ) ;
6161 } ) ;
@@ -68,7 +68,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
6868 "a" ,
6969 // @ts -expect-error Testing invalid.
7070 true ,
71- new AbortController ( )
71+ new AbortController ( ) ,
7272 ) ;
7373 } , new TypeError ( "Argument 4 `loadingResult` must be a `Promise` instance." ) ) ;
7474 } ) ;
@@ -81,7 +81,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
8181 "a" ,
8282 Promise . resolve ( ) ,
8383 // @ts -expect-error Testing invalid.
84- true
84+ true ,
8585 ) ;
8686 } , new TypeError ( "Argument 5 `abortController` must be an `AbortController` instance." ) ) ;
8787 } ) ;
@@ -115,7 +115,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
115115 cache ,
116116 cacheKey ,
117117 loadingResult ,
118- abortController
118+ abortController ,
119119 ) ;
120120
121121 strictEqual ( events . length , 1 ) ;
@@ -193,7 +193,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
193193 cache ,
194194 cacheKey ,
195195 firstLoadingResult ,
196- firstAbortController
196+ firstAbortController ,
197197 ) ;
198198
199199 strictEqual ( events . length , 1 ) ;
@@ -214,7 +214,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
214214 assertTypeOf ( firstLoadingCacheValue . timeStamp , "number" ) ;
215215 strictEqual (
216216 performance . now ( ) - firstLoadingCacheValue . timeStamp < 50 ,
217- true
217+ true ,
218218 ) ;
219219 strictEqual ( firstLoadingCacheValue . abortController , firstAbortController ) ;
220220 assertInstanceOf ( firstLoadingCacheValue . promise , Promise ) ;
@@ -233,7 +233,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
233233 cache ,
234234 cacheKey ,
235235 secondLoadingResult ,
236- secondAbortController
236+ secondAbortController ,
237237 ) ;
238238
239239 strictEqual ( events . length , 1 ) ;
@@ -254,11 +254,11 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
254254 assertTypeOf ( secondLoadingCacheValue . timeStamp , "number" ) ;
255255 strictEqual (
256256 performance . now ( ) - secondLoadingCacheValue . timeStamp < 50 ,
257- true
257+ true ,
258258 ) ;
259259 strictEqual (
260260 secondLoadingCacheValue . timeStamp >= firstLoadingCacheValue . timeStamp ,
261- true
261+ true ,
262262 ) ;
263263 strictEqual ( secondLoadingCacheValue . abortController , secondAbortController ) ;
264264 assertInstanceOf ( secondLoadingCacheValue . promise , Promise ) ;
@@ -353,7 +353,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
353353 cache ,
354354 cacheKey ,
355355 firstLoadingResult ,
356- firstAbortController
356+ firstAbortController ,
357357 ) ;
358358
359359 strictEqual ( events . length , 1 ) ;
@@ -374,7 +374,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
374374 assertTypeOf ( firstLoadingCacheValue . timeStamp , "number" ) ;
375375 strictEqual (
376376 performance . now ( ) - firstLoadingCacheValue . timeStamp < 50 ,
377- true
377+ true ,
378378 ) ;
379379 strictEqual ( firstLoadingCacheValue . abortController , firstAbortController ) ;
380380 assertInstanceOf ( firstLoadingCacheValue . promise , Promise ) ;
@@ -393,7 +393,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
393393 cache ,
394394 cacheKey ,
395395 secondLoadingResult ,
396- secondAbortController
396+ secondAbortController ,
397397 ) ;
398398
399399 strictEqual ( events . length , 1 ) ;
@@ -414,11 +414,11 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
414414 assertTypeOf ( secondLoadingCacheValue . timeStamp , "number" ) ;
415415 strictEqual (
416416 performance . now ( ) - secondLoadingCacheValue . timeStamp < 50 ,
417- true
417+ true ,
418418 ) ;
419419 strictEqual (
420420 secondLoadingCacheValue . timeStamp >= firstLoadingCacheValue . timeStamp ,
421- true
421+ true ,
422422 ) ;
423423 strictEqual ( secondLoadingCacheValue . abortController , secondAbortController ) ;
424424 assertInstanceOf ( secondLoadingCacheValue . promise , Promise ) ;
@@ -440,7 +440,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
440440 } ) ;
441441 deepStrictEqual ( cache . store , { [ cacheKey ] : firstCacheValue } ) ;
442442 strictEqual ( firstResult , firstCacheValue ) ;
443- }
443+ } ,
444444 ) ;
445445
446446 const secondLoadingCheck = secondLoadingCacheValue . promise . then (
@@ -450,7 +450,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
450450 deepStrictEqual ( loading . store , { } ) ;
451451 deepStrictEqual ( cache . store , { [ cacheKey ] : secondCacheValue } ) ;
452452 strictEqual ( secondResult , secondCacheValue ) ;
453- }
453+ } ,
454454 ) ;
455455
456456 secondLoadingResultResolve ( secondCacheValue ) ;
@@ -519,7 +519,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
519519 ( ) => {
520520 resolve ( cacheValue ) ;
521521 } ,
522- { once : true }
522+ { once : true } ,
523523 ) ;
524524 } ) ;
525525
@@ -528,7 +528,7 @@ describe("Class `LoadingCacheValue`.", { concurrency: true }, () => {
528528 cache ,
529529 cacheKey ,
530530 loadingResult ,
531- abortController
531+ abortController ,
532532 ) ;
533533
534534 strictEqual ( events . length , 1 ) ;
0 commit comments