From 2205aa4f871f22215c2d59776c8b9b22ccbc57e9 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 21 Nov 2026 15:47:31 +0000 Subject: features: most, for development Every feature but tokio-console, so that development names one set of features everywhere: the aliases, checks and single tests, so none rebuilds what another built. Not cargo's --all-features, which would take tokio-console too (it needs tokio_unstable), hence not "all". Not a default. --- src/api/dashboard/check.js | 2 +- src/api/dashboard/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/api') diff --git a/src/api/dashboard/check.js b/src/api/dashboard/check.js index ee37aa6..3325f21 100644 --- a/src/api/dashboard/check.js +++ b/src/api/dashboard/check.js @@ -1,4 +1,4 @@ -// Browser checks of the dashboard page (`cargo test --features dashboard +// Browser checks of the dashboard page (`cargo test --features most // dashboard_in_a_browser -- --ignored`, which serves this the page as the node does): the // page loads without errors; the peers table has a row per peer, and an update changes // cells without making the rows anew (`morphChildren`); the map draws a node per member; diff --git a/src/api/dashboard/mod.rs b/src/api/dashboard/mod.rs index c0de169..f5a91ac 100644 --- a/src/api/dashboard/mod.rs +++ b/src/api/dashboard/mod.rs @@ -908,7 +908,7 @@ mod tests { /// the map draw what the state says, a large map doesn't hold the page up, and the /// federation shows who writes where, what a proposal changes, and the votes. /// Needs Node.js with Playwright's library and its Chromium (`check.nix` gives them), - /// so only when asked: `cargo test --features dashboard dashboard_in_a_browser -- + /// so only when asked: `cargo test --features most dashboard_in_a_browser -- /// --ignored`. #[test] #[ignore] -- cgit v1.3.1