mirror of
https://github.com/tc39/test262.git
synced 2025-08-18 16:38:32 +02:00
Many tests tested some functionality while asserting that there were no calls of calendar or time zone methods. We can continue testing the functionality, but there are no more methods to call, so we can delete those parts of the tests.
12 lines
414 B
JavaScript
12 lines
414 B
JavaScript
// Copyright (C) 2020 Igalia, S.L. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-temporal.instant.from
|
|
description: Time zone annotation is ignored in input ISO string
|
|
features: [Temporal]
|
|
---*/
|
|
|
|
const instant = Temporal.Instant.from("1975-02-02T14:25:36.123456789+01:00[Invalid/TimeZone]");
|
|
assert.sameValue(instant.epochMilliseconds, 160579536123);
|