HH-549: serve the default favicon (#147)
* chore(agent): baseline — uncommitted work from the local directory * HH-549: serve the default favicon * Revert "chore(agent): baseline — uncommitted work from the local directory" This reverts commit 4a3fabe624bfdc52bf935b62cb9871b7de9b3083. --------- Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@@ -20,6 +20,12 @@ assert.match(
|
||||
html,
|
||||
/<script\b[^>]*\bsrc="\/runtime-config\.js"[^>]*><\/script>/
|
||||
);
|
||||
assert.ok(
|
||||
readFileSync(new URL('../dist/favicon.ico', import.meta.url)).equals(
|
||||
readFileSync(new URL('../public/favicon-32x32.png', import.meta.url))
|
||||
),
|
||||
'favicon.ico must reuse the GoChat favicon'
|
||||
);
|
||||
assert.ok(
|
||||
html.indexOf('/runtime-config.js') < html.indexOf('type="module"'),
|
||||
'runtime config must load before the app module'
|
||||
|
||||
Reference in New Issue
Block a user