Skip to content

Commit 1ee9845

Browse files
committed
chore: [#975] Fixes workflows
1 parent 853e869 commit 1ee9845

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

packages/happy-dom/test/fetch/Fetch.test.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -3632,7 +3632,7 @@ describe('Fetch', () => {
36323632
'content-length',
36333633
String(responseText.length),
36343634
'cache-control',
3635-
'max-age=0.05',
3635+
'max-age=0.01',
36363636
'last-modified',
36373637
'Mon, 11 Dec 2023 01:00:00 GMT'
36383638
];
@@ -3677,7 +3677,7 @@ describe('Fetch', () => {
36773677
expect(headers1).toEqual({
36783678
'content-type': 'text/html',
36793679
'content-length': String(responseText.length),
3680-
'cache-control': `max-age=0.05`,
3680+
'cache-control': `max-age=0.01`,
36813681
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT'
36823682
});
36833683

@@ -3793,7 +3793,7 @@ describe('Fetch', () => {
37933793
'content-length',
37943794
String(responseText1.length),
37953795
'cache-control',
3796-
'max-age=0.05',
3796+
'max-age=0.01',
37973797
'last-modified',
37983798
'Mon, 11 Dec 2023 01:00:00 GMT'
37993799
];
@@ -3846,7 +3846,7 @@ describe('Fetch', () => {
38463846
expect(headers1).toEqual({
38473847
'content-type': 'text/html',
38483848
'content-length': String(responseText1.length),
3849-
'cache-control': `max-age=0.05`,
3849+
'cache-control': `max-age=0.01`,
38503850
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT'
38513851
});
38523852

@@ -3963,7 +3963,7 @@ describe('Fetch', () => {
39633963
'content-length',
39643964
String(responseText.length),
39653965
'cache-control',
3966-
'max-age=0.05',
3966+
'max-age=0.01',
39673967
'last-modified',
39683968
'Mon, 11 Dec 2023 01:00:00 GMT',
39693969
'etag',
@@ -4013,7 +4013,7 @@ describe('Fetch', () => {
40134013
expect(headers1).toEqual({
40144014
'content-type': 'text/html',
40154015
'content-length': String(responseText.length),
4016-
'cache-control': `max-age=0.05`,
4016+
'cache-control': `max-age=0.01`,
40174017
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT',
40184018
etag: etag1
40194019
});
@@ -4027,7 +4027,7 @@ describe('Fetch', () => {
40274027
expect(headers2).toEqual({
40284028
'content-type': 'text/html',
40294029
'content-length': String(responseText.length),
4030-
'cache-control': `max-age=0.05`,
4030+
'cache-control': `max-age=0.01`,
40314031
'Last-Modified': 'Mon, 11 Dec 2023 02:00:00 GMT',
40324032
ETag: etag2
40334033
});
@@ -4135,7 +4135,7 @@ describe('Fetch', () => {
41354135
'content-length',
41364136
String(responseText1.length),
41374137
'cache-control',
4138-
'max-age=0.05',
4138+
'max-age=0.01',
41394139
'last-modified',
41404140
'Mon, 11 Dec 2023 01:00:00 GMT',
41414141
'etag',
@@ -4182,7 +4182,7 @@ describe('Fetch', () => {
41824182
expect(headers1).toEqual({
41834183
'content-type': 'text/html',
41844184
'content-length': String(responseText1.length),
4185-
'cache-control': `max-age=0.05`,
4185+
'cache-control': `max-age=0.01`,
41864186
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT',
41874187
etag: etag1
41884188
});

packages/happy-dom/test/fetch/SyncFetch.test.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,7 @@ describe('SyncFetch', () => {
22332233
'content-length',
22342234
String(responseText.length),
22352235
'cache-control',
2236-
'max-age=0.05',
2236+
'max-age=0.01',
22372237
'last-modified',
22382238
'Mon, 11 Dec 2023 01:00:00 GMT'
22392239
],
@@ -2279,7 +2279,7 @@ describe('SyncFetch', () => {
22792279
expect(headers1).toEqual({
22802280
'content-type': 'text/html',
22812281
'content-length': String(responseText.length),
2282-
'cache-control': `max-age=0.05`,
2282+
'cache-control': `max-age=0.01`,
22832283
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT'
22842284
});
22852285

@@ -2372,7 +2372,7 @@ describe('SyncFetch', () => {
23722372
'content-length',
23732373
String(responseText1.length),
23742374
'cache-control',
2375-
'max-age=0.05',
2375+
'max-age=0.01',
23762376
'last-modified',
23772377
'Mon, 11 Dec 2023 01:00:00 GMT'
23782378
],
@@ -2426,7 +2426,7 @@ describe('SyncFetch', () => {
24262426
expect(headers1).toEqual({
24272427
'content-type': 'text/html',
24282428
'content-length': String(responseText1.length),
2429-
'cache-control': `max-age=0.05`,
2429+
'cache-control': `max-age=0.01`,
24302430
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT'
24312431
});
24322432

@@ -2519,7 +2519,7 @@ describe('SyncFetch', () => {
25192519
'content-length',
25202520
String(responseText.length),
25212521
'cache-control',
2522-
'max-age=0.05',
2522+
'max-age=0.01',
25232523
'last-modified',
25242524
'Mon, 11 Dec 2023 01:00:00 GMT',
25252525
'etag',
@@ -2575,7 +2575,7 @@ describe('SyncFetch', () => {
25752575
expect(headers1).toEqual({
25762576
'content-type': 'text/html',
25772577
'content-length': String(responseText.length),
2578-
'cache-control': `max-age=0.05`,
2578+
'cache-control': `max-age=0.01`,
25792579
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT',
25802580
etag: etag1
25812581
});
@@ -2589,7 +2589,7 @@ describe('SyncFetch', () => {
25892589
expect(headers2).toEqual({
25902590
'content-type': 'text/html',
25912591
'content-length': String(responseText.length),
2592-
'cache-control': `max-age=0.05`,
2592+
'cache-control': `max-age=0.01`,
25932593
'Last-Modified': 'Mon, 11 Dec 2023 02:00:00 GMT',
25942594
ETag: etag2
25952595
});
@@ -2674,7 +2674,7 @@ describe('SyncFetch', () => {
26742674
'content-length',
26752675
String(responseText1.length),
26762676
'cache-control',
2677-
'max-age=0.05',
2677+
'max-age=0.01',
26782678
'last-modified',
26792679
'Mon, 11 Dec 2023 01:00:00 GMT',
26802680
'etag',
@@ -2722,7 +2722,7 @@ describe('SyncFetch', () => {
27222722
expect(headers1).toEqual({
27232723
'content-type': 'text/html',
27242724
'content-length': String(responseText1.length),
2725-
'cache-control': `max-age=0.05`,
2725+
'cache-control': `max-age=0.01`,
27262726
'last-modified': 'Mon, 11 Dec 2023 01:00:00 GMT',
27272727
etag: etag1
27282728
});

0 commit comments

Comments
 (0)