mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:27:45 +00:00
LibJS/Tests: Remove two leftover console.log() calls
This commit is contained in:
parent
d84fd3ad5c
commit
2ba338869b
2 changed files with 0 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
test("use with array", () => {
|
test("use with array", () => {
|
||||||
let names = Object.getOwnPropertySymbols([1, 2, 3]);
|
let names = Object.getOwnPropertySymbols([1, 2, 3]);
|
||||||
console.log(names);
|
|
||||||
expect(names).toEqual([]);
|
expect(names).toEqual([]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ describe("errors", () => {
|
||||||
for (let i = 0; i < 9; ++i) {
|
for (let i = 0; i < 9; ++i) {
|
||||||
const args = [0, 1, 1, 0, 0, 0, 0, 0, 0];
|
const args = [0, 1, 1, 0, 0, 0, 0, 0, 0];
|
||||||
args[i] = badValues[i];
|
args[i] = badValues[i];
|
||||||
console.log(args);
|
|
||||||
expect(() => {
|
expect(() => {
|
||||||
new Temporal.PlainDateTime(...args);
|
new Temporal.PlainDateTime(...args);
|
||||||
}).toThrowWithMessage(RangeError, "Invalid plain date time");
|
}).toThrowWithMessage(RangeError, "Invalid plain date time");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue