app, Request::create('/nova'))); $style = collect(Nova::allStyles()) ->first(fn ($asset): bool => $asset->name() === 'nova-form-dock'); $script = collect(Nova::allScripts()) ->first(fn ($asset): bool => $asset->name() === 'nova-form-dock'); $this->assertNotNull($style); $this->assertNotNull($script); $this->assertFileExists($style->path()); $this->assertFileExists($script->path()); $this->assertSame( 'automatic', Nova::jsonVariables(Request::create('/nova'))['novaFormDock']['mode'], ); } }