refactor: Fix #1277 + Cache components' JS/CSS scripts at class creation (#1283)

* refactor: Cache components' JS and CSS scripts at class creation time

* refactor: add test for no template_rendered signal for component with no template
This commit is contained in:
Juro Oravec 2025-07-03 12:27:21 +02:00 committed by GitHub
parent 007009a480
commit c692b7a310
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 138 additions and 58 deletions

View file

@ -103,6 +103,7 @@ class TestExtensionsListCommand:
"===============\n"
"cache \n"
"defaults \n"
"dependencies \n"
"view \n"
"debug_highlight"
)
@ -121,6 +122,7 @@ class TestExtensionsListCommand:
"===============\n"
"cache \n"
"defaults \n"
"dependencies \n"
"view \n"
"debug_highlight\n"
"empty \n"
@ -141,6 +143,7 @@ class TestExtensionsListCommand:
"===============\n"
"cache \n"
"defaults \n"
"dependencies \n"
"view \n"
"debug_highlight\n"
"empty \n"
@ -161,6 +164,7 @@ class TestExtensionsListCommand:
"===============\n"
"cache \n"
"defaults \n"
"dependencies \n"
"view \n"
"debug_highlight\n"
"empty \n"
@ -179,6 +183,7 @@ class TestExtensionsListCommand:
assert output.strip() == (
"cache \n"
"defaults \n"
"dependencies \n"
"view \n"
"debug_highlight\n"
"empty \n"