Skip to content

Commit

Permalink
chore(ci): suppress warnings about unused code in example tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Nov 4, 2024
1 parent d9f52da commit 025be96
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/counter/tests/web.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

use counter::*;
use leptos::mount::mount_to;
use leptos::prelude::*;
Expand Down
2 changes: 2 additions & 0 deletions examples/counter_without_macros/tests/web.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

use counter_without_macros::counter;
use leptos::{prelude::*, task::tick};
use pretty_assertions::assert_eq;
Expand Down
2 changes: 2 additions & 0 deletions examples/counters/tests/web.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

use wasm_bindgen::JsCast;
use wasm_bindgen_test::*;

Expand Down
2 changes: 2 additions & 0 deletions examples/directives/tests/web.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

use directives::App;
use leptos::{prelude::*, task::tick};
use wasm_bindgen::JsCast;
Expand Down
2 changes: 2 additions & 0 deletions examples/portal/tests/web.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

use portal::App;
use wasm_bindgen::JsCast;
use wasm_bindgen_test::*;
Expand Down

0 comments on commit 025be96

Please sign in to comment.