Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"assist": {
"actions": {
"source": {
"organizeImports": "on"
"organizeImports": "off"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/core/routing/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { getFallbackRoute, routeIsFallback, routeIsRedirect } from './helpers.js';
export { routeIsRedirect } from './helpers.js';
export { createRoutesList } from './manifest/create.js';
export { matchAllRoutes } from './match.js';
1 change: 1 addition & 0 deletions packages/astro/test/i18n-routing.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2523,3 +2523,4 @@ describe('i18n routing with server islands and base path', () => {
assert.equal(serverIslandScript.length, 1, 'has the island script');
});
});
});
9 changes: 1 addition & 8 deletions packages/astro/test/units/routing/route-matching.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,7 @@ describe('Route matching', () => {
});

const loader = createViteLoader(container.viteServer);
const manifest = createDevelopmentManifest(container.settings);
pipeline = DevPipeline.create(undefined, {
loader,
logger: defaultLogger,
manifest,
settings,
getDebugInfo: async () => '',
});
manifest = await createDevelopmentManifest(container.settings);
manifestData = await createRoutesList(
{
cwd: fixture.path,
Expand Down
20 changes: 0 additions & 20 deletions packages/astro/test/units/vite-plugin-astro-server/request.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,6 @@ import {
defaultLogger,
} from '../test-utils.js';

async function createDevPipeline(overrides = {}, root) {
const settings = overrides.settings ?? (await createBasicSettings({ root }));
const loader = overrides.loader ?? createLoader();
const manifest = createDevelopmentManifest(settings);
const routesList = await createRoutesList(
{
cwd: root,
settings: settings,
},
defaultLogger,
);
return DevPipeline.create(routesList, {
loader,
logger: defaultLogger,
manifest,
settings,
getDebugInfo: async () => '',
});
}

describe('vite-plugin-astro-server', () => {
describe('url', () => {
let container;
Expand Down
Loading