Skip to content

Commit 75de46a

Browse files
committed
Add serial
1 parent 367d0de commit 75de46a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/css/src/class_map.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ pub fn get_class_map() -> HashMap<String, i32> {
2222

2323
#[cfg(test)]
2424
mod tests {
25+
use serial_test::serial;
26+
2527
use super::*;
2628

2729
#[test]
30+
#[serial]
2831
fn test_set_and_get_class_map() {
2932
let mut test_map = HashMap::new();
3033
test_map.insert("test-key".to_string(), 42);
@@ -34,6 +37,7 @@ mod tests {
3437
}
3538

3639
#[test]
40+
#[serial]
3741
fn test_reset_class_map() {
3842
let mut test_map = HashMap::new();
3943
test_map.insert("reset-key".to_string(), 1);

0 commit comments

Comments
 (0)