1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:07:46 +00:00

LibJS: Implement Intl.Locale.prototype.toString()

This isn't particularly testable yet without the Intl.Locale constructor
but having this defined will make testing the constructor possible. So
more specific tests for this prototype will come later.
This commit is contained in:
Timothy Flynn 2021-09-01 21:56:55 -04:00 committed by Linus Groh
parent 940c023e09
commit 990dd037d2
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,3 @@
test("length is 0", () => {
expect(Intl.Locale.prototype.toString).toHaveLength(0);
});