Expand description
WASM module - always available for testing (Mock DOM allows testing without actual browser bindings) WASM Frontend for Calculator
This module provides the WebAssembly bindings for the calculator, demonstrating 100% test coverage across platform boundaries.
Probar: Balanced testing - Balanced testing across TUI and WASM
Structs§
- DomElement
- Represents a DOM element for testing
- Keypad
Button Def - A single keypad button definition
- MockDom
- Mock DOM for testing WASM calculator without browser
- Wasm
Calculator - WASM Calculator - browser-ready calculator
- Wasm
Driver - WASM Driver wrapping calculator and mock DOM
- Wasm
Keypad - WASM Keypad layout definition Layout:
Enums§
- DomEvent
- DOM events that can be dispatched
- Keypad
Action - Actions that keypad buttons can perform (shared with TUI)
Traits§
- Mock
DomKeypad Ext - Extension trait for MockDom to add keypad