Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
265 changes: 0 additions & 265 deletions packages/astro/test/astro-basic.test.js

This file was deleted.

4 changes: 2 additions & 2 deletions packages/astro/test/astro-sync.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('astro sync', () => {
});

it('Writes `.astro/types.d.ts`', async () => {
await fixture.load('./fixtures/astro-basic/');
await fixture.load('./fixtures/static/');
fixture.clean();
await fixture.whenSyncing();
fixture.thenFileShouldExist('.astro/types.d.ts');
Expand Down Expand Up @@ -283,7 +283,7 @@ describe('astro sync', () => {
},
});

const astroFixture = await loadFixture({ root: './fixtures/astro-basic/' });
const astroFixture = await loadFixture({ root: './fixtures/static/' });
fs.rmSync(new URL('./.astro/', astroFixture.config.root), { force: true, recursive: true });

// @ts-ignore
Expand Down
8 changes: 4 additions & 4 deletions packages/astro/test/config-mode.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('AstroConfig - config.output', () => {
before(async () => {
fixture = await loadFixture({
// This is just a random fixture to test, doesn't matter.
root: './fixtures/astro-basic/',
root: './fixtures/static/',
adapter: testAdapter(),
output: 'server',
});
Expand All @@ -37,7 +37,7 @@ describe('AstroConfig - config.output', () => {
before(async () => {
fixture = await loadFixture({
// This is just a random fixture to test, doesn't matter.
root: './fixtures/astro-basic/',
root: './fixtures/static/',
output: 'server',
});
});
Expand Down Expand Up @@ -65,7 +65,7 @@ describe('AstroConfig - config.output', () => {
before(async () => {
fixture = await loadFixture({
// This is just a random fixture to test, doesn't matter.
root: './fixtures/astro-basic/',
root: './fixtures/static/',
output: 'static',
});
await fixture.build();
Expand All @@ -89,7 +89,7 @@ describe('AstroConfig - config.output', () => {
before(async () => {
fixture = await loadFixture({
// This is just a random fixture to test, doesn't matter.
root: './fixtures/astro-basic/',
root: './fixtures/static/',
adapter: testAdapter(),
output: 'server',
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@test/ssr-hoisted-script",
"name": "@test/ssr",
"version": "0.0.0",
"private": true,
"dependencies": {
"astro": "workspace:*"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<html>
<head>
<title>Testing</title>
<title>Inline Script Test</title>
</head>
<body>
<h1>Testing</h1>
<h1>Inline Script Test</h1>
<script>console.log('hello world');</script>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@test/astro-basic",
"name": "@test/static",
"version": "0.0.0",
"private": true,
"dependencies": {
Expand Down
Loading