Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): suppress warnings about unused code in example tests #3193

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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