feature/embbed-frontend #7

Merged
GW_MC merged 14 commits from feature/embbed-frontend into master 2026-04-25 14:34:56 +08:00
2 changed files with 12 additions and 0 deletions
Showing only changes of commit 836617fa54 - Show all commits

View File

@@ -57,6 +57,8 @@ jobs:
rm -rf apps/nxmesh-master/frontend-dist || true
cp -r apps/nxmesh-frontend/dist apps/nxmesh-master/frontend-dist
ls -la apps/nxmesh-master/frontend-dist
- name: Run tests
run: cargo test --all-features -- --show-output

View File

@@ -73,6 +73,16 @@ async fn get_file_handler(
mod tests {
use super::*;
#[tokio::test]
async fn test_asset() {
// list all embedded assets for debugging
let assets = FrontendAssets::iter().collect::<Vec<_>>();
assert!(
!assets.is_empty(),
"Expected to find embedded assets, but found none"
);
}
#[tokio::test]
async fn test_get_index_html() {
let index_html = get_index_html();