test(embed): run the suite in two more timezones
Build / Build-and-ng-test (pull_request) Successful in 5m37s
Lighthouse Checks / lighthouse (pull_request) Successful in 21m37s
Build / Build-and-test-development (pull_request) Canceled after 0s

A transform resolves a report value to dates using local calendar
components, so a test that passes in UTC says nothing about a browser west
of it. test:tz-west and test:tz-east run the whole suite under
America/New_York and Pacific/Auckland; with the UTC construction this test
pair replaces, the bare-number round-trip case fails under the first.

Not wired into CI: it triples the run for a property that is already
pinned by the round-trip assertion, so it stays a local and pre-release
check.
This commit is contained in:
dc committed 2026-10-28 12:27:42 +00:00
1 parent 689b5b6709
commit 37d81c902a
1 file changed
+3 -1
+3 -1
View File
@@ -37,7 +37,9 @@
"compodoc:build-and-serve": "compodoc -p tsconfig.doc.json -s --name 'Data Controller Client'",
"compodoc:serve": "compodoc -s --name 'Data Controller Client'",
"lighthouse": "lhci autorun",
"ng": "ng"
"ng": "ng",
"test:tz-west": "TZ=America/New_York npm run test:headless",
"test:tz-east": "TZ=Pacific/Auckland npm run test:headless"
},
"private": true,
"dependencies": {