superui_boa_engine 0.3.0

Fork of boa_engine (boa 0.21.1) with relaxed icu_normalizer pin for Bevy 0.19 / Parley / icu 2.1 compatibility. Upstream: https://github.com/boa-dev/boa
1
2
3
4
5
6
7
8
9
10
11
use crate::{TestAction, run_test_actions};

#[test]
fn pdt_year_of_week_basic() {
    run_test_actions([
        TestAction::run(
            "let pdt = new Temporal.PlainDateTime(1976, 11, 18, 15, 23, 30, 123, 456, 789, 'iso8601')",
        ),
        TestAction::assert_eq("pdt.yearOfWeek", 1976),
    ]);
}