0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-04-14 23:51:49 -05:00

[ci] format

This commit is contained in:
Matt Kane 2025-01-21 12:24:57 +00:00 committed by astrobot-houston
parent 1d272f6a5a
commit bf119db240
2 changed files with 2 additions and 2 deletions

View file

@ -4,9 +4,9 @@ import { fileURLToPath } from 'node:url';
import type { AstroSettings } from '../types/astro.js';
import type { AstroConfig } from '../types/public/config.js';
import type { RouteData } from '../types/public/internal.js';
import { hasSpecialQueries } from '../vite-plugin-utils/index.js';
import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from './constants.js';
import { removeQueryString, removeTrailingForwardSlash, slash } from './path.js';
import { hasSpecialQueries } from '../vite-plugin-utils/index.js';
/** Returns true if argument is an object of any prototype/class (but not null). */
export function isObject(value: unknown): value is Record<string, any> {

View file

@ -30,7 +30,7 @@ describe('Astro Markdown', () => {
fixLineEndings(rawImport).trim(),
`# Basic page\n\nLets make sure raw and compiled content look right!`,
);
assert.ok(url.startsWith("data:text/markdown;base64,"));
assert.ok(url.startsWith('data:text/markdown;base64,'));
});
it('Exposes compiled HTML content', async () => {