Procházet zdrojové kódy

LibJS/Tests: Fix bad copy and paste that crept into a lot of tests

The top-level function should have been `describe()``, but instead it's
been nested `test()`s.
Linus Groh před 4 roky
rodič
revize
a8ba2f4b21
100 změnil soubory, kde provedl 100 přidání a 100 odebrání
  1. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.toTemporalInstant.js
  2. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toFixed.js
  3. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toString.js
  4. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.valueOf.js
  5. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.toString.js
  6. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.abs.js
  7. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.blank.js
  8. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.days.js
  9. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.hours.js
  10. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.microseconds.js
  11. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.milliseconds.js
  12. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.minutes.js
  13. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.months.js
  14. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.nanoseconds.js
  15. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.negated.js
  16. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.seconds.js
  17. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.sign.js
  18. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.valueOf.js
  19. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.weeks.js
  20. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.with.js
  21. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.years.js
  22. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochMicroseconds.js
  23. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochMilliseconds.js
  24. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochNanoseconds.js
  25. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochSeconds.js
  26. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMicroseconds.js
  27. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMilliseconds.js
  28. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochNanoseconds.js
  29. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochSeconds.js
  30. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.equals.js
  31. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.round.js
  32. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.valueOf.js
  33. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.calendar.js
  34. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.day.js
  35. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfWeek.js
  36. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfYear.js
  37. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInMonth.js
  38. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInWeek.js
  39. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInYear.js
  40. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.inLeapYear.js
  41. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.month.js
  42. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthCode.js
  43. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthsInYear.js
  44. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.valueOf.js
  45. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.weekOfYear.js
  46. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.year.js
  47. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.calendar.js
  48. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.day.js
  49. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfWeek.js
  50. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfYear.js
  51. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInMonth.js
  52. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInWeek.js
  53. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInYear.js
  54. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.hour.js
  55. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.inLeapYear.js
  56. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.microsecond.js
  57. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.millisecond.js
  58. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.minute.js
  59. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.month.js
  60. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthCode.js
  61. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthsInYear.js
  62. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.nanosecond.js
  63. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.second.js
  64. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.valueOf.js
  65. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.weekOfYear.js
  66. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.year.js
  67. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.calendar.js
  68. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.hour.js
  69. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.microsecond.js
  70. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.millisecond.js
  71. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.minute.js
  72. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.nanosecond.js
  73. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.second.js
  74. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.valueOf.js
  75. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetNanosecondsFor.js
  76. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetStringFor.js
  77. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.toString.js
  78. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.calendar.js
  79. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.day.js
  80. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfWeek.js
  81. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfYear.js
  82. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInMonth.js
  83. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInWeek.js
  84. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInYear.js
  85. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMicroseconds.js
  86. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMilliseconds.js
  87. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochNanoseconds.js
  88. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochSeconds.js
  89. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.getISOFields.js
  90. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.hour.js
  91. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.inLeapYear.js
  92. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.microsecond.js
  93. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.millisecond.js
  94. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.minute.js
  95. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.month.js
  96. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthCode.js
  97. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthsInYear.js
  98. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.nanosecond.js
  99. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offset.js
  100. 1 1
      Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offsetNanoseconds.js

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Date/Date.prototype.toTemporalInstant.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Date object", () => {
         expect(() => {
             Date.prototype.toTemporalInstant.call(123);

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toFixed.js

@@ -26,7 +26,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("must be called with numeric |this|", () => {
         [true, [], {}, Symbol("foo"), "bar", 1n].forEach(value => {
             expect(() => Number.prototype.toFixed.call(value)).toThrowWithMessage(

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.toString.js

@@ -72,7 +72,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("must be called with numeric |this|", () => {
         [true, [], {}, Symbol("foo"), "bar", 1n].forEach(value => {
             expect(() => Number.prototype.toString.call(value)).toThrowWithMessage(

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Number/Number.prototype.valueOf.js

@@ -9,7 +9,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("must be called with numeric |this|", () => {
         [true, [], {}, Symbol("foo"), "bar", 1n].forEach(value => {
             expect(() => Number.prototype.valueOf.call(value)).toThrowWithMessage(

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Calendar/Calendar.prototype.toString.js

@@ -9,7 +9,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Calendar object", () => {
         expect(() => {
             Temporal.Calendar.prototype.toString.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.abs.js

@@ -44,7 +44,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Temporal.Duration.prototype.abs.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.blank.js

@@ -8,7 +8,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "blank", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.days.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "days", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.hours.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "hours", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.microseconds.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "microseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.milliseconds.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "milliseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.minutes.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "minutes", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.months.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "months", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.nanoseconds.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "nanoseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.negated.js

@@ -33,7 +33,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Temporal.Duration.prototype.negated.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.seconds.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "seconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.sign.js

@@ -8,7 +8,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "sign", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.valueOf.js

@@ -1,4 +1,4 @@
-test("errors", () => {
+describe("errors", () => {
     test("throws TypeError", () => {
         expect(() => {
             new Temporal.Duration().valueOf();

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.weeks.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "weeks", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.with.js

@@ -38,7 +38,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Temporal.Duration.prototype.with.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Duration/Duration.prototype.years.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Duration object", () => {
         expect(() => {
             Reflect.get(Temporal.Duration.prototype, "years", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochMicroseconds.js

@@ -24,7 +24,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("argument must be coercible to BigInt", () => {
         expect(() => {
             Temporal.Instant.fromEpochMicroseconds(123);

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochMilliseconds.js

@@ -24,7 +24,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("argument must be coercible to BigInt", () => {
         expect(() => {
             Temporal.Instant.fromEpochMilliseconds(1.23);

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochNanoseconds.js

@@ -24,7 +24,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("argument must be coercible to BigInt", () => {
         expect(() => {
             Temporal.Instant.fromEpochNanoseconds(123);

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.fromEpochSeconds.js

@@ -20,7 +20,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("argument must be coercible to BigInt", () => {
         expect(() => {
             Temporal.Instant.fromEpochSeconds(1.23);

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMicroseconds.js

@@ -25,7 +25,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Instant object", () => {
         expect(() => {
             Reflect.get(Temporal.Instant.prototype, "epochMicroseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochMilliseconds.js

@@ -24,7 +24,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Instant object", () => {
         expect(() => {
             Reflect.get(Temporal.Instant.prototype, "epochMilliseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochNanoseconds.js

@@ -16,7 +16,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Instant object", () => {
         expect(() => {
             Reflect.get(Temporal.Instant.prototype, "epochNanoseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.epochSeconds.js

@@ -24,7 +24,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Instant object", () => {
         expect(() => {
             Reflect.get(Temporal.Instant.prototype, "epochSeconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.equals.js

@@ -7,7 +7,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Instant object", () => {
         expect(() => {
             Temporal.Instant.prototype.equals.call("foo", 1, 2);

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.round.js

@@ -19,7 +19,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.Instant object", () => {
         expect(() => {
             Temporal.Instant.prototype.round.call("foo", {});

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/Instant/Instant.prototype.valueOf.js

@@ -1,4 +1,4 @@
-test("errors", () => {
+describe("errors", () => {
     test("throws TypeError", () => {
         expect(() => {
             new Temporal.Instant(0n).valueOf();

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.calendar.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "calendar", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.day.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "day", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfWeek.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "dayOfWeek", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.dayOfYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "dayOfYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInMonth.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "daysInMonth", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInWeek.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "daysInWeek", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.daysInYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "daysInYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.inLeapYear.js

@@ -7,7 +7,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "inLeapYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.month.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "month", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthCode.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "monthCode", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.monthsInYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "monthsInYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.valueOf.js

@@ -1,4 +1,4 @@
-test("errors", () => {
+describe("errors", () => {
     test("throws TypeError", () => {
         expect(() => {
             new Temporal.PlainDate(2021, 7, 21).valueOf();

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.weekOfYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "weekOfYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDate/PlainDate.prototype.year.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDate object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDate.prototype, "year", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.calendar.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "calendar", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.day.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "day", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfWeek.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "dayOfWeek", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.dayOfYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "dayOfYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInMonth.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "daysInMonth", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInWeek.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "daysInWeek", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.daysInYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "daysInYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.hour.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "hour", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.inLeapYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "inLeapYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.microsecond.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "microsecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.millisecond.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "millisecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.minute.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "minute", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.month.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "month", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthCode.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "monthCode", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.monthsInYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "monthsInYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.nanosecond.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "nanosecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.second.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "second", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.valueOf.js

@@ -1,4 +1,4 @@
-test("errors", () => {
+describe("errors", () => {
     test("throws TypeError", () => {
         expect(() => {
             new Temporal.PlainDateTime(2021, 7, 22, 19, 54, 38).valueOf();

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.weekOfYear.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "weekOfYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainDateTime/PlainDateTime.prototype.year.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainDateTime.prototype, "year", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.calendar.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainTime.prototype, "calendar", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.hour.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainTime.prototype, "hour", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.microsecond.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainTime.prototype, "microsecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.millisecond.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainTime.prototype, "millisecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.minute.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainTime.prototype, "minute", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.nanosecond.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainTime.prototype, "nanosecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.second.js

@@ -5,7 +5,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.PlainTime object", () => {
         expect(() => {
             Reflect.get(Temporal.PlainTime.prototype, "second", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/PlainTime/PlainTime.prototype.valueOf.js

@@ -1,4 +1,4 @@
-test("errors", () => {
+describe("errors", () => {
     test("throws TypeError", () => {
         expect(() => {
             new Temporal.PlainTime(19, 54, 38).valueOf();

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetNanosecondsFor.js

@@ -16,7 +16,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.TimeZone object", () => {
         expect(() => {
             Temporal.TimeZone.prototype.getOffsetNanosecondsFor.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.getOffsetStringFor.js

@@ -16,7 +16,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.TimeZone object", () => {
         expect(() => {
             Temporal.TimeZone.prototype.getOffsetStringFor.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/TimeZone/TimeZone.prototype.toString.js

@@ -9,7 +9,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.TimeZone object", () => {
         expect(() => {
             Temporal.TimeZone.prototype.toString.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.calendar.js

@@ -7,7 +7,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "calendar", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.day.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "day", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfWeek.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "dayOfWeek", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.dayOfYear.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "dayOfYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInMonth.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "daysInMonth", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInWeek.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "daysInWeek", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.daysInYear.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "daysInYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMicroseconds.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "epochMicroseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochMilliseconds.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "epochMilliseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochNanoseconds.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "epochNanoseconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.epochSeconds.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "epochSeconds", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.getISOFields.js

@@ -40,7 +40,7 @@ describe("normal behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Temporal.ZonedDateTime.prototype.getISOFields.call("foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.hour.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "hour", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.inLeapYear.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "inLeapYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.microsecond.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "microsecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.millisecond.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "millisecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.minute.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "minute", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.month.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "month", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthCode.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "monthCode", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.monthsInYear.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "monthsInYear", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.nanosecond.js

@@ -6,7 +6,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "nanosecond", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offset.js

@@ -12,7 +12,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "offset", "foo");

+ 1 - 1
Userland/Libraries/LibJS/Tests/builtins/Temporal/ZonedDateTime/ZonedDateTime.prototype.offsetNanoseconds.js

@@ -12,7 +12,7 @@ describe("correct behavior", () => {
     });
 });
 
-test("errors", () => {
+describe("errors", () => {
     test("this value must be a Temporal.ZonedDateTime object", () => {
         expect(() => {
             Reflect.get(Temporal.ZonedDateTime.prototype, "offsetNanoseconds", "foo");

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů