mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Add test for ICU version
This commit is contained in:
@@ -105,6 +105,10 @@ it("process.env is spreadable and editable", () => {
|
||||
expect(eval(`globalThis.process.env.USER = "${orig}"`)).toBe(String(orig));
|
||||
});
|
||||
|
||||
it.skipIf(process.platform === "win32")("ICU version does not regress", () => {
|
||||
expect(parseFloat(process.versions.icu, 10) || 0).toBeGreaterThanOrEqual(72);
|
||||
});
|
||||
|
||||
it("process.env.TZ", () => {
|
||||
var origTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user