mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
parent
bc03e0de67
commit
421e9c199b
@ -1,14 +0,0 @@
|
||||
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
||||
import { assertEquals } from "../assert/mod.ts";
|
||||
import { DAY, HOUR, MINUTE, SECOND, WEEK } from "./constants.ts";
|
||||
|
||||
Deno.test({
|
||||
name: "constants",
|
||||
fn() {
|
||||
assertEquals(SECOND, 1e3);
|
||||
assertEquals(MINUTE, SECOND * 60);
|
||||
assertEquals(HOUR, MINUTE * 60);
|
||||
assertEquals(DAY, HOUR * 24);
|
||||
assertEquals(WEEK, DAY * 7);
|
||||
},
|
||||
});
|
Loading…
Reference in New Issue
Block a user