Skip to content

Commit 28b9b89

Browse files
ioannadMs2ger
authored andcommitted
[Temporal] Remove v8 staging test plain-date-time-from
The tests in `test/staging/Temporal/v8/plain-date-time-from.js` are covered by tests in - `test/built-ins/Temporal/PlainDateTime/from/options-wrong-type.js` --> add Infinity, NaN, null - `test/built-ins/Temporal/PlainDateTime/from/overflow-invalid-string.js` - `test/built-ins/Temporal/PlainDateTime/from/options-undefined.js` - `test/built-ins/Temporal/PlainDateTime/from/options-object.js` - `test/built-ins/Temporal/PlainDateTime/from/overflow-reject.js` - `test/built-ins/Temporal/PlainDateTime/from/argument-object.js`
1 parent 4df9c71 commit 28b9b89

File tree

2 files changed

+3
-149
lines changed

2 files changed

+3
-149
lines changed

test/built-ins/Temporal/PlainDateTime/from/options-wrong-type.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ const badOptions = [
1414
Symbol(),
1515
1,
1616
2n,
17+
Infinity,
18+
NaN,
19+
null,
1720
];
1821

1922
for (const value of badOptions) {

test/staging/Temporal/v8/plain-date-time-from.js

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

0 commit comments

Comments
 (0)