mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
test(sites): drop the TanStack Start rendering tests
All three cover tanstack-start, which this branch no longer touches, and they pass on main: the detector already matched both server entries, so nothing here was broken. They guard nothing in a change to the Nuxt path. Worth adding alongside the TanStack Start layout decision, next to the directories they describe.
This commit is contained in:
1 parent
c31cfd3ab2
commit
dab4c16701
1 file changed
-24
@@ -24,28 +24,4 @@ final class DetectionTest extends TestCase
|
||||
$this->assertSame('ssr', $detection->getName());
|
||||
$this->assertNull($detection->getFallbackFile());
|
||||
}
|
||||
|
||||
public function testRenderingFindsTanStackStartSSR(): void
|
||||
{
|
||||
$detection = Detection::rendering('tanstack-start', ['./client/index.html', './server/server.js']);
|
||||
|
||||
$this->assertSame('ssr', $detection->getName());
|
||||
$this->assertNull($detection->getFallbackFile());
|
||||
}
|
||||
|
||||
public function testRenderingFindsTanStackStartNitroSSR(): void
|
||||
{
|
||||
$detection = Detection::rendering('tanstack-start', ['./public/index.html', './server/index.mjs']);
|
||||
|
||||
$this->assertSame('ssr', $detection->getName());
|
||||
$this->assertNull($detection->getFallbackFile());
|
||||
}
|
||||
|
||||
public function testRenderingFindsTanStackStartStatic(): void
|
||||
{
|
||||
$detection = Detection::rendering('tanstack-start', ['./index.html', './assets/main.js']);
|
||||
|
||||
$this->assertSame('static', $detection->getName());
|
||||
$this->assertSame('index.html', $detection->getFallbackFile());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user