web.rs 251 B

12345678910111213
  1. //! Test suite for the Web and headless browsers.
  2. #![cfg(target_arch = "wasm32")]
  3. extern crate wasm_bindgen_test;
  4. use wasm_bindgen_test::*;
  5. wasm_bindgen_test_configure!(run_in_browser);
  6. #[wasm_bindgen_test]
  7. fn pass() {
  8. assert_eq!(1 + 1, 2);
  9. }