Meta: Increase the line length enforced by prettier to 120

This matches our coding style recommendation in CodingStyle.md, and
matches our python formatting.
This commit is contained in:
Timothy Flynn 2025-10-31 11:50:48 -04:00 committed by Tim Flynn
parent b7ecdad685
commit 019c529c07
Notes: github-actions[bot] 2025-10-31 23:56:51 +00:00
178 changed files with 774 additions and 2019 deletions

View file

@ -6,33 +6,21 @@ describe("errors", () => {
test("constructor argument count", () => {
expect(() => {
Proxy.revocable();
}).toThrowWithMessage(
TypeError,
"Expected target argument of Proxy constructor to be object, got undefined"
);
}).toThrowWithMessage(TypeError, "Expected target argument of Proxy constructor to be object, got undefined");
expect(() => {
Proxy.revocable({});
}).toThrowWithMessage(
TypeError,
"Expected handler argument of Proxy constructor to be object, got undefined"
);
}).toThrowWithMessage(TypeError, "Expected handler argument of Proxy constructor to be object, got undefined");
});
test("constructor requires objects", () => {
expect(() => {
Proxy.revocable(1, {});
}).toThrowWithMessage(
TypeError,
"Expected target argument of Proxy constructor to be object, got 1"
);
}).toThrowWithMessage(TypeError, "Expected target argument of Proxy constructor to be object, got 1");
expect(() => {
Proxy.revocable({}, 1);
}).toThrowWithMessage(
TypeError,
"Expected handler argument of Proxy constructor to be object, got 1"
);
}).toThrowWithMessage(TypeError, "Expected handler argument of Proxy constructor to be object, got 1");
});
});