summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/test/hosted/hosted.test.js
blob: 0ce531e4dced5177c777cd7bc70dde4212aabb64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { expect } from 'chai';

const NETLIFY_TEST_URL = 'https://curious-boba-495d6d.netlify.app';

describe('Hosted Netlify Tests', () => {
	it('Image endpoint works', async () => {
		const image = await fetch(
			NETLIFY_TEST_URL + '/_image?href=%2F_astro%2Fpenguin.e9c64733.png&w=300&f=webp'
		);

		expect(image.status).to.equal(200);
	});
});