astro/packages/integrations/cloudflare/test/directory.test.js
Matthew Phillips df32011652
Fix Cloudflare directory mode regression (#6046)
* Fix Cloudflare directory mode regression

* Adding a changeset
2023-01-30 14:50:44 -05:00

20 lines
471 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();
});
});