Skip to content

Commit d6b05b1

Browse files
catamorphismMs2ger
authored andcommitted
[Temporal] Remove test/staging/Temporal/v8/calendar-days-in-week.js
Already covered for PlainDate and PlainDateTime; add a new test for ZonedDateTime.
1 parent 65ec80a commit d6b05b1

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright (C) 2026 Igalia, S.L. All rights reserved.
2+
// This code is governed by the BSD license found in the LICENSE file.
3+
4+
/*---
5+
esid: sec-get-temporal.zoneddatetime.prototype.daysinweek
6+
description: Checking days in week for a "normal" case (non-undefined, non-boundary case, etc.)
7+
features: [Temporal]
8+
---*/
9+
10+
const tests = [
11+
new Temporal.ZonedDateTime(189357810123456789n, "UTC"),
12+
new Temporal.ZonedDateTime(217178610123456789n, "UTC"),
13+
new Temporal.ZonedDateTime(220893810123456789n, "UTC"),
14+
];
15+
for (const zonedDateTime of tests) {
16+
assert.sameValue(zonedDateTime.daysInWeek, 7, `Seven days in the week of ${zonedDateTime}`);
17+
}

test/staging/Temporal/v8/calendar-days-in-week.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)