Expand description
Internal-only runtime module used for the wasm_bindgen_test
crate.
No API contained in this module will respect semver, these should all be considered private APIs.
Re-exports§
pub use wasm_bindgen;
Modules§
- browser
- Support for printing status information of a test suite in a browser.
- detect
- Runtime detection of whether we’re in node.js or a browser.
- node
- Support for printing status information of a test suite in node.js
- worker
- Support for printing status information of a test suite in a browser.
Structs§
- Context
- Runtime test harness support instantiated in JS.
Traits§
- Termination
- Similar to
std::process::Termination
, but for wasm-bindgen tests.
Functions§
- __
wbgtest_ console_ debug - Handler for
console.debug
invocations. See above. - __
wbgtest_ console_ error - Handler for
console.error
invocations. See above. - __
wbgtest_ console_ info - Handler for
console.info
invocations. See above. - __
wbgtest_ console_ log - Handler for
console.log
invocations. - __
wbgtest_ console_ warn - Handler for
console.warn
invocations. See above. - console_
error - Internal implementation detail of the
console_error!
macro. - console_
log - Internal implementation detail of the
console_log!
macro.
Attribute Macros§
- wasm_
bindgen - A list of all the attributes can be found here: https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/index.html