mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-27 20:24:25 +01:00
Use Node 12 (#3141)
* Use Node 12 * Remove tests that don't work in Node
This commit is contained in:
@@ -8,10 +8,4 @@ describe("formatDate", () => {
|
||||
it("Formats English dates", () => {
|
||||
assert.strictEqual(formatDate(dateObj, "en"), "November 18, 2017");
|
||||
});
|
||||
|
||||
// Node only contains intl support for english formats. This test at least ensures
|
||||
// the fallback to a different locale
|
||||
it("Formats other dates", () => {
|
||||
assert.strictEqual(formatDate(dateObj, "fr"), "2017 M11 18");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user