Skip to content

Commit 8d6dc55

Browse files
committed
Run staged_ledger.rs tests in wasm
1 parent 93d9e99 commit 8d6dc55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ledger/src/staged_ledger/staged_ledger.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,9 @@ impl StagedLedger {
19901990

19911991
#[cfg(test)]
19921992
mod tests_ocaml {
1993+
#[cfg(target_family = "wasm")]
1994+
use wasm_bindgen_test::wasm_bindgen_test as test;
1995+
19931996
use std::{
19941997
collections::{BTreeSet, HashMap},
19951998
panic::AssertUnwindSafe,
@@ -5841,6 +5844,9 @@ mod tests_ocaml {
58415844

58425845
#[cfg(test)]
58435846
mod tests {
5847+
#[cfg(target_family = "wasm")]
5848+
use wasm_bindgen_test::wasm_bindgen_test as test;
5849+
58445850
use std::{collections::BTreeMap, fs::File};
58455851

58465852
use mina_hasher::Fp;

0 commit comments

Comments
 (0)