mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
20 lines
472 B
JavaScript
20 lines
472 B
JavaScript
import { loadFixture, runCLI } from './test-utils.js';
|
|
import { expect } from 'chai';
|
|
import * as cheerio from 'cheerio';
|
|
import cloudflare from '../dist/index.js';
|
|
|
|
describe('mode: "directory"', () => {
|
|
/** @type {import('./test-utils').Fixture} */
|
|
let fixture;
|
|
|
|
before(async () => {
|
|
fixture = await loadFixture({
|
|
root: './fixtures/basics/',
|
|
adapter: cloudflare({ mode: 'directory' }),
|
|
});
|
|
});
|
|
|
|
it('Builds', async () => {
|
|
await fixture.build();
|
|
});
|
|
});
|