1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-01 22:25:15 +01:00

Use Node 12 (#3141)

* Use Node 12

* Remove tests that don't work in Node
This commit is contained in:
Paulus Schoutsen
2019-04-30 12:16:41 -07:00
committed by GitHub
parent ca0ded8587
commit 652cd10483
5 changed files with 11 additions and 29 deletions

View File

@@ -11,10 +11,4 @@ describe("formatDateTime", () => {
"November 18, 2017, 11:12 AM"
);
});
// Node only contains intl support for english formats. This test at least ensures
// the fallback to a different locale
it("Formats other date times", () => {
assert.strictEqual(formatDateTime(dateObj, "fr"), "2017 M11 18 11:12");
});
});