superui_boa_engine 0.1.1

Fork of boa_engine (boa 0.21.1) vendored for superui so the boa_parser stack-growth patch is publishable; also carries a relaxed icu_normalizer pin. See docs/fork-patches.md. 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),
    ]);
}