1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

LibJS: Implement a nearly empty Intl.Collator object

This adds plumbing for the Intl.Collator object, constructor, and
prototype.
This commit is contained in:
Timothy Flynn 2021-09-06 22:18:48 -04:00 committed by Linus Groh
parent 4d43aeae30
commit 4a3e142d55
12 changed files with 328 additions and 0 deletions

View file

@ -0,0 +1,3 @@
test("basic functionality", () => {
expect(Intl.Collator.prototype[Symbol.toStringTag]).toBe("Intl.Collator");
});

View file

@ -0,0 +1,5 @@
describe("normal behavior", () => {
test("length is 0", () => {
expect(Intl.Collator).toHaveLength(0);
});
});