mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[ci] format
This commit is contained in:
parent
683d51a5ee
commit
cdd0c7ca36
2 changed files with 5 additions and 5 deletions
|
@ -18,6 +18,7 @@ import { getSetCookiesFromResponse } from '../cookies/index.js';
|
||||||
import { AstroError, AstroErrorData } from '../errors/index.js';
|
import { AstroError, AstroErrorData } from '../errors/index.js';
|
||||||
import { consoleLogDestination } from '../logger/console.js';
|
import { consoleLogDestination } from '../logger/console.js';
|
||||||
import { AstroIntegrationLogger, Logger } from '../logger/core.js';
|
import { AstroIntegrationLogger, Logger } from '../logger/core.js';
|
||||||
|
import { sequence } from '../middleware/index.js';
|
||||||
import {
|
import {
|
||||||
appendForwardSlash,
|
appendForwardSlash,
|
||||||
collapseDuplicateSlashes,
|
collapseDuplicateSlashes,
|
||||||
|
@ -30,9 +31,8 @@ import { RenderContext } from '../render-context.js';
|
||||||
import { createAssetLink } from '../render/ssr-element.js';
|
import { createAssetLink } from '../render/ssr-element.js';
|
||||||
import { ensure404Route } from '../routing/astro-designed-error-pages.js';
|
import { ensure404Route } from '../routing/astro-designed-error-pages.js';
|
||||||
import { matchRoute } from '../routing/match.js';
|
import { matchRoute } from '../routing/match.js';
|
||||||
import { AppPipeline } from './pipeline.js';
|
|
||||||
import { sequence } from '../middleware/index.js';
|
|
||||||
import { createOriginCheckMiddleware } from './middlewares.js';
|
import { createOriginCheckMiddleware } from './middlewares.js';
|
||||||
|
import { AppPipeline } from './pipeline.js';
|
||||||
export { deserializeManifest } from './common.js';
|
export { deserializeManifest } from './common.js';
|
||||||
|
|
||||||
export interface RenderOptions {
|
export interface RenderOptions {
|
||||||
|
|
|
@ -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 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', () => {
|
describe('CSRF origin check', () => {
|
||||||
let app;
|
let app;
|
||||||
|
|
Loading…
Reference in a new issue