From dab4c1670190434d4999f4edd5351e661a62f124 Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Thu, 13 Aug 2026 14:01:30 +0530 Subject: [PATCH] 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. --- tests/unit/Deployment/DetectionTest.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/tests/unit/Deployment/DetectionTest.php b/tests/unit/Deployment/DetectionTest.php index 70c9c8655a..42ec656830 100644 --- a/tests/unit/Deployment/DetectionTest.php +++ b/tests/unit/Deployment/DetectionTest.php @@ -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()); - } }