Skip to content

Commit a5be7f1

Browse files
committed
Run staged_ledger.rs tests in wasm
1 parent 57a1090 commit a5be7f1

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
@@ -1994,6 +1994,9 @@ impl StagedLedger {
19941994

19951995
#[cfg(test)]
19961996
mod tests_ocaml {
1997+
#[cfg(target_family = "wasm")]
1998+
use wasm_bindgen_test::wasm_bindgen_test as test;
1999+
19972000
use std::{
19982001
collections::{BTreeSet, HashMap},
19992002
panic::AssertUnwindSafe,
@@ -5845,6 +5848,9 @@ mod tests_ocaml {
58455848

58465849
#[cfg(test)]
58475850
mod tests {
5851+
#[cfg(target_family = "wasm")]
5852+
use wasm_bindgen_test::wasm_bindgen_test as test;
5853+
58485854
use std::{collections::BTreeMap, fs::File};
58495855

58505856
use mina_hasher::Fp;

0 commit comments

Comments
 (0)