From cdd0c7ca36277f2599bfaa6c577029fa416394fe Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 10 Apr 2024 13:55:07 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/app/index.ts | 4 ++-- packages/astro/test/csrf-protection.test.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/astro/src/core/app/index.ts b/packages/astro/src/core/app/index.ts index cb7a8d9db1..116151610e 100644 --- a/packages/astro/src/core/app/index.ts +++ b/packages/astro/src/core/app/index.ts @@ -18,6 +18,7 @@ import { getSetCookiesFromResponse } from '../cookies/index.js'; import { AstroError, AstroErrorData } from '../errors/index.js'; import { consoleLogDestination } from '../logger/console.js'; import { AstroIntegrationLogger, Logger } from '../logger/core.js'; +import { sequence } from '../middleware/index.js'; import { appendForwardSlash, collapseDuplicateSlashes, @@ -30,9 +31,8 @@ import { RenderContext } from '../render-context.js'; import { createAssetLink } from '../render/ssr-element.js'; import { ensure404Route } from '../routing/astro-designed-error-pages.js'; import { matchRoute } from '../routing/match.js'; -import { AppPipeline } from './pipeline.js'; -import { sequence } from '../middleware/index.js'; import { createOriginCheckMiddleware } from './middlewares.js'; +import { AppPipeline } from './pipeline.js'; export { deserializeManifest } from './common.js'; export interface RenderOptions { diff --git a/packages/astro/test/csrf-protection.test.js b/packages/astro/test/csrf-protection.test.js index ab76a18f5b..25aa9d0590 100644 --- a/packages/astro/test/csrf-protection.test.js +++ b/packages/astro/test/csrf-protection.test.js @@ -1,7 +1,7 @@ -import { before, describe, it } from 'node:test'; -import { loadFixture } from './test-utils.js'; -import testAdapter from './test-adapter.js'; import assert from 'node:assert/strict'; +import { before, describe, it } from 'node:test'; +import testAdapter from './test-adapter.js'; +import { loadFixture } from './test-utils.js'; describe('CSRF origin check', () => { let app;