mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibJS: Disable Temporal custom time zone test
This test has been flaky for quite some time. Disable it for now, and
revisit once we've caught up with the Temporal spec.
See also: b7676cc436
This commit is contained in:
parent
3c2d820391
commit
f8763c16b2
Notes:
sideshowbarker
2024-07-17 00:27:16 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/f8763c16b2 Pull-request: https://github.com/SerenityOS/serenity/pull/21491 Reviewed-by: https://github.com/nico ✅
1 changed files with 8 additions and 3 deletions
|
@ -29,7 +29,10 @@ describe("correct behavior", () => {
|
|||
// and negative timezones and skip one if we jump the year. To ensure at least one is
|
||||
// tested we have the timeZoneTested which is only set to true if one of the tests passed.
|
||||
|
||||
test("custom time zone positive", () => {
|
||||
// FIXME: The custom time zone tests are disabled due to being flaky. See:
|
||||
// https://github.com/SerenityOS/serenity/issues/20806
|
||||
|
||||
test.skip("custom time zone positive", () => {
|
||||
const calendar = new Temporal.Calendar("iso8601");
|
||||
const timeZone = {
|
||||
getOffsetNanosecondsFor() {
|
||||
|
@ -53,7 +56,7 @@ describe("correct behavior", () => {
|
|||
timeZoneTested = true;
|
||||
});
|
||||
|
||||
test("custom time zone negative", () => {
|
||||
test.skip("custom time zone negative", () => {
|
||||
const calendar = new Temporal.Calendar("iso8601");
|
||||
const timeZone = {
|
||||
getOffsetNanosecondsFor() {
|
||||
|
@ -77,7 +80,9 @@ describe("correct behavior", () => {
|
|||
timeZoneTested = true;
|
||||
});
|
||||
|
||||
expect(timeZoneTested).toBeTrue();
|
||||
test.skip("custom time zone test was executed", () => {
|
||||
expect(timeZoneTested).toBeTrue();
|
||||
});
|
||||
|
||||
test("cannot have a time zone with more than a day", () => {
|
||||
[86400000000000, -86400000000000, 86400000000001, 86400000000002].forEach(offset => {
|
||||
|
|
Loading…
Add table
Reference in a new issue