Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
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
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
run: cargo check --all-targets --quiet
- name: Cargo clippy
run: cargo clippy --all-targets --all-features --quiet -- -D warnings || echo 'Clippy warnings found'
- name: Run Node.js tests
- name: Run render tests
env:
INSTA_WORKSPACE_ROOT: ${{ github.workspace }}
CHROMIUM_FLAGS: --enable-unsafe-webgpu
run: wasm-pack test --chrome --headless
run: wasm-pack test --chrome --headless -- --features render

node-test:
if: ${{ github.actor == 'qqrm' }}
Expand Down Expand Up @@ -88,4 +88,4 @@ jobs:
- name: Run logic-only tests
env:
INSTA_WORKSPACE_ROOT: ${{ github.workspace }}
run: npm run test:node -- --features logic-only --test logic_only
run: npm run test:node -- --features logic-only
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ quickcheck_macros = "1"
[features]
parallel = ["rayon"]
logic-only = []
render = []

[profile.dev]
panic = "unwind" # Preserves stack traces
[profile.release]
debug = 1 # Keep debug symbols even in release mode
panic = "unwind" # Preserve stack traces
panic = "unwind" # Preserve stack traces
12 changes: 6 additions & 6 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ Before running the suite ensure the WebAssembly target is installed:

The build script will fail if the target is missing.
```bash
# All WASM tests
wasm-pack test --chrome --headless
# Logic-only tests
wasm-pack test --node -- --features logic-only

# Specific test
wasm-pack test --chrome --headless --test offset
# Render tests
wasm-pack test --chrome --headless -- --features render

# Headless Chrome without UI
wasm-pack test --chrome --headless
# Specific render test
wasm-pack test --chrome --headless -- --features render --test offset
```

## Key Checks
Expand Down
1 change: 1 addition & 0 deletions tests/abort_handle.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use futures::future::{AbortHandle, Abortable};
use gloo_timers::future::sleep;
use leptos::*;
Expand Down
1 change: 1 addition & 0 deletions tests/aggregator.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::services::Aggregator;
use price_chart_wasm::domain::market_data::{
Candle, OHLCV, Price, TimeInterval, Timestamp, Volume,
Expand Down
1 change: 1 addition & 0 deletions tests/auto_scroll.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::should_auto_scroll;

#[test]
Expand Down
1 change: 1 addition & 0 deletions tests/axis_pan.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::price_levels;
use price_chart_wasm::domain::chart::value_objects::Viewport;
use wasm_bindgen_test::*;
Expand Down
1 change: 1 addition & 0 deletions tests/axis_zoom.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::{price_levels, visible_range, visible_range_by_time};
use price_chart_wasm::domain::chart::value_objects::Viewport;
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
Expand Down
1 change: 1 addition & 0 deletions tests/candle_alignment.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{
EDGE_GAP, MAX_ELEMENT_WIDTH, MIN_ELEMENT_WIDTH, candle_x_position, spacing_ratio_for,
};
Expand Down
1 change: 1 addition & 0 deletions tests/candle_width_max_zoom.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{MIN_ELEMENT_WIDTH, SPACING_RATIO};
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/chart_pan.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::Chart;
use price_chart_wasm::domain::chart::value_objects::ChartType;
use price_chart_wasm::domain::chart::value_objects::Viewport;
Expand Down
1 change: 1 addition & 0 deletions tests/chart_positioning.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{
EDGE_GAP, MAX_ELEMENT_WIDTH, MIN_ELEMENT_WIDTH, candle_x_position, spacing_ratio_for,
};
Expand Down
1 change: 1 addition & 0 deletions tests/current_time.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::visible_range;
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
Expand Down
1 change: 1 addition & 0 deletions tests/dynamic_spacing.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::spacing_ratio_for;
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/ecs_chart_update.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use leptos::*;
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Symbol, Timestamp, Volume};
Expand Down
1 change: 1 addition & 0 deletions tests/ecs_full_pipeline.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use leptos::*;
use price_chart_wasm::domain::market_data::{Symbol, TimeInterval};
use price_chart_wasm::global_state::{ecs_world, ensure_chart, push_realtime_candle};
Expand Down
1 change: 1 addition & 0 deletions tests/ecs_global_integration.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use leptos::*;
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Symbol, Timestamp, Volume};
use price_chart_wasm::ecs::components::ChartComponent;
Expand Down
1 change: 1 addition & 0 deletions tests/ecs_signal_sync.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use leptos::*;
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Symbol, Timestamp, Volume};
use price_chart_wasm::global_state::{
Expand Down
1 change: 1 addition & 0 deletions tests/ecs_world.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use leptos::*;
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
Expand Down
1 change: 1 addition & 0 deletions tests/geometry.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
use price_chart_wasm::infrastructure::rendering::gpu_structures::CandleGeometry;
use wasm_bindgen_test::*;
Expand Down
1 change: 1 addition & 0 deletions tests/gpu_memory.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::WebGpuRenderer;
use wasm_bindgen::JsCast;
use wasm_bindgen_test::*;
Expand Down
1 change: 1 addition & 0 deletions tests/grid_vertices.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::gpu_structures::CandleGeometry;
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/historical_ma_render.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
use price_chart_wasm::infrastructure::rendering::renderer::dummy_renderer;
Expand Down
1 change: 1 addition & 0 deletions tests/history_backfill.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::{
chart::{Chart, value_objects::ChartType},
market_data::{Candle, OHLCV, Price, TimeInterval, Timestamp, Volume},
Expand Down
1 change: 1 addition & 0 deletions tests/history_fetch.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::{HISTORY_PRELOAD_THRESHOLD, should_fetch_history};
wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
#[test]
Expand Down
1 change: 1 addition & 0 deletions tests/indicator_engine.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::{
Candle, OHLCV, Price, Timestamp, Volume, indicator_engine::MovingAverageEngine,
services::MarketAnalysisService,
Expand Down
1 change: 1 addition & 0 deletions tests/indicator_perf.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
#[cfg(not(target_arch = "wasm32"))]
use price_chart_wasm::domain::market_data::{
Candle, OHLCV, Price, Timestamp, Volume, indicator_engine::MovingAverageEngine,
Expand Down
1 change: 1 addition & 0 deletions tests/indicator_vertices.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::services::MarketAnalysisService;
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
use price_chart_wasm::infrastructure::rendering::gpu_structures::{CandleGeometry, IndicatorType};
Expand Down
1 change: 1 addition & 0 deletions tests/interval_restart.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use gloo_timers::future::sleep;
use leptos::*;
use price_chart_wasm::app::{
Expand Down
1 change: 1 addition & 0 deletions tests/market_data.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::{
Candle, CandleSeries, OHLCV, Price, Timestamp, Volume,
};
Expand Down
1 change: 1 addition & 0 deletions tests/moving_average.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::{
Candle, OHLCV, Price, Timestamp, Volume, services::MarketAnalysisService,
};
Expand Down
1 change: 1 addition & 0 deletions tests/msaa.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::MSAA_SAMPLE_COUNT;
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/multi_symbol.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use leptos::*;
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Symbol, Timestamp, Volume};
use price_chart_wasm::global_state::ensure_chart;
Expand Down
1 change: 1 addition & 0 deletions tests/offset.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{
EDGE_GAP, MAX_ELEMENT_WIDTH, MIN_ELEMENT_WIDTH, candle_x_position, spacing_ratio_for,
};
Expand Down
1 change: 1 addition & 0 deletions tests/pan_offset.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::{HISTORY_PRELOAD_THRESHOLD, should_fetch_history};

#[test]
Expand Down
1 change: 1 addition & 0 deletions tests/pan_viewport.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::visible_range_by_time;
use price_chart_wasm::domain::chart::value_objects::Viewport;
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
Expand Down
1 change: 1 addition & 0 deletions tests/performance_limit.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::{
chart::{Chart, ChartType},
market_data::{Candle, OHLCV, Price, Timestamp, Volume},
Expand Down
1 change: 1 addition & 0 deletions tests/positioning_regression.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{
EDGE_GAP, MAX_ELEMENT_WIDTH, MIN_ELEMENT_WIDTH, candle_x_position, spacing_ratio_for,
};
Expand Down
1 change: 1 addition & 0 deletions tests/realtime_viewport.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::Chart;
use price_chart_wasm::domain::chart::value_objects::{ChartType, Viewport};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
Expand Down
1 change: 1 addition & 0 deletions tests/reconnect.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use futures::future::select;
use gloo_timers::future::sleep;
use price_chart_wasm::domain::market_data::{Symbol, TimeInterval};
Expand Down
1 change: 1 addition & 0 deletions tests/rendering_sync.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::{
chart::{Chart, value_objects::ChartType},
market_data::{Candle, OHLCV, Price, Timestamp, Volume},
Expand Down
1 change: 1 addition & 0 deletions tests/series_expansion.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::visible_range;
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
Expand Down
1 change: 1 addition & 0 deletions tests/single_candle_width.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{
MAX_ELEMENT_WIDTH, MIN_ELEMENT_WIDTH, spacing_ratio_for,
};
Expand Down
1 change: 1 addition & 0 deletions tests/start_realtime.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::{visible_range, visible_range_by_time};
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{
Expand Down
1 change: 1 addition & 0 deletions tests/stream_abort_no_panic.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use gloo_timers::future::sleep;
use leptos::*;
use price_chart_wasm::app::{
Expand Down
1 change: 1 addition & 0 deletions tests/switch_symbol_abort.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use futures::future::{AbortHandle, Abortable};
use gloo_timers::future::sleep;
use leptos::*;
Expand Down
1 change: 1 addition & 0 deletions tests/switch_symbol_loop.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use futures::future::AbortHandle;
use leptos::*;
use price_chart_wasm::app::{abort_other_streams, current_symbol, stream_abort_handles};
Expand Down
1 change: 1 addition & 0 deletions tests/symbol_list.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::value_objects::{Symbol, default_symbols};
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/time_label_format.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use js_sys::Date;
use price_chart_wasm::time_utils::format_time_label;
use wasm_bindgen::JsValue;
Expand Down
1 change: 1 addition & 0 deletions tests/time_scale_sync.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::{visible_range, visible_range_by_time};
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{
Expand Down
1 change: 1 addition & 0 deletions tests/tooltip_positioning.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{
EDGE_GAP, MAX_ELEMENT_WIDTH, MIN_ELEMENT_WIDTH, candle_x_position, spacing_ratio_for,
};
Expand Down
1 change: 1 addition & 0 deletions tests/view_state_zoom.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::view_state::ViewState;
use quickcheck_macros::quickcheck;

Expand Down
1 change: 1 addition & 0 deletions tests/viewport.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::value_objects::Viewport;
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/viewport_clamp.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
use wasm_bindgen_test::*;
Expand Down
1 change: 1 addition & 0 deletions tests/visibility_refresh.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::{
chart::{Chart, value_objects::ChartType},
market_data::{Candle, OHLCV, Price, Timestamp, Volume},
Expand Down
1 change: 1 addition & 0 deletions tests/visible_len_zero.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::candle_x_position;
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/visible_range.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::app::visible_range;

#[test]
Expand Down
1 change: 1 addition & 0 deletions tests/volume_candle_sync.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
use price_chart_wasm::infrastructure::rendering::renderer::{
EDGE_GAP, MAX_ELEMENT_WIDTH, MIN_ELEMENT_WIDTH, SPACING_RATIO, candle_x_position,
Expand Down
1 change: 1 addition & 0 deletions tests/volume_vertices.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::gpu_structures::CandleGeometry;
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/vs_transform.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::gpu_structures::{CandleInstance, CandleVertex};
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/websocket_parse.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::market_data::{Symbol, TimeInterval};
use price_chart_wasm::infrastructure::websocket::binance_client::BinanceWebSocketClient;
use wasm_bindgen_test::*;
Expand Down
1 change: 1 addition & 0 deletions tests/width_sync_test.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::infrastructure::rendering::renderer::{
EDGE_GAP, MIN_ELEMENT_WIDTH, candle_x_position, spacing_ratio_for,
};
Expand Down
1 change: 1 addition & 0 deletions tests/zoom_centering.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::value_objects::Viewport;
use wasm_bindgen_test::*;

Expand Down
1 change: 1 addition & 0 deletions tests/zoom_preservation.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::{Chart, value_objects::ChartType};
use price_chart_wasm::domain::market_data::{Candle, OHLCV, Price, Timestamp, Volume};
use wasm_bindgen_test::*;
Expand Down
1 change: 1 addition & 0 deletions tests/zoom_price.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "render")]
use price_chart_wasm::domain::chart::value_objects::Viewport;
use wasm_bindgen_test::*;

Expand Down
Loading