Skip to content

Commit 388818a

Browse files
Princesseuhastrobot-houston
authored andcommitted
[ci] format
1 parent f1fce0e commit 388818a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

packages/astro/src/core/cookies/cookies.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ import { AstroError, AstroErrorData } from '../errors/index.js';
44

55
export type AstroCookieSetOptions = Pick<
66
SerializeOptions,
7-
'domain' | 'path' | 'expires' | 'maxAge' | 'httpOnly' | 'sameSite' | 'secure' | 'encode' | 'partitioned'
7+
| 'domain'
8+
| 'path'
9+
| 'expires'
10+
| 'maxAge'
11+
| 'httpOnly'
12+
| 'sameSite'
13+
| 'secure'
14+
| 'encode'
15+
| 'partitioned'
816
>;
917

1018
export interface AstroCookieGetOptions {

packages/astro/test/content-layer.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ describe('Content Layer', () => {
114114
assert.ok(columbia, 'columbia entry should exist');
115115
assert.ok(columbia.body, 'body should be present');
116116
assert.ok(columbia.body.length > 0, 'body should not be empty');
117-
assert.ok(columbia.body.includes('Space Shuttle Columbia'), 'body should contain markdown content');
117+
assert.ok(
118+
columbia.body.includes('Space Shuttle Columbia'),
119+
'body should contain markdown content',
120+
);
118121
});
119122

120123
it('clears body when retainBody is false in glob() loader', async () => {

0 commit comments

Comments
 (0)