Fix test for required properties

This commit is contained in:
Tim Chevalier 2024-10-30 17:09:04 -07:00 committed by Philip Chimento
parent 7fb465496f
commit 70ef1acd1c
1 changed files with 3 additions and 3 deletions

View File

@ -16,18 +16,18 @@ assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
}));
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
years: 1976,
months: 11,
month: 11,
day: 18,
timeZone: "+01:00"
}));
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
year: 1976,
months: 11,
days: 18,
day: 18,
timeZone: "+01:00"
}));
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
years: 1976,
year: 1976,
month: 11,
days: 18,
timeZone: "+01:00"