.*
",
ids[100]
),
);
}
#[test]
fn blocks() {
let test_server = TestServer::new();
test_server.mine_blocks(1);
test_server.assert_response_regex(
"/blocks",
StatusCode::OK,
".*
Blocks.*
Blocks
.*",
);
}
#[test]
fn nav_displays_chain() {
TestServer::new_with_regtest().assert_response_regex(
"/",
StatusCode::OK,
".*Ordinalsregtest.*",
);
}
#[test]
fn blocks_block_limit() {
let test_server = TestServer::new();
test_server.mine_blocks(101);
test_server.assert_response_regex(
"/blocks",
StatusCode::OK,
".*\n( - [[:xdigit:]]{64}
\n){95}
.*"