Paulus Schoutsen 652cd10483
Use Node 12 (#3141)
* Use Node 12

* Remove tests that don't work in Node
2019-04-30 12:16:41 -07:00

12 lines
303 B
TypeScript

import { assert } from "chai";
import formatTime from "../../../src/common/datetime/format_time";
describe("formatTime", () => {
const dateObj = new Date(2017, 10, 18, 11, 12, 13, 1400);
it("Formats English times", () => {
assert.strictEqual(formatTime(dateObj, "en"), "11:12 AM");
});
});