Skip to content

Commit 75cef47

Browse files
committed
remove datetime test
1 parent a91d396 commit 75cef47

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/tests/unit/values/datetime.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ import { DateTime } from "../../../sdk/src/value/datetime";
33
import { Duration } from "../../../sdk/src/value/duration";
44

55
describe("DateTime", () => {
6-
test("constructor with no arguments (current time)", () => {
7-
const dt = new DateTime();
8-
const now = new Date();
9-
const diff = Math.abs(dt.milliseconds - now.valueOf());
10-
expect(diff).toBeLessThanOrEqual(7);
11-
});
12-
136
test("constructor with Date object", () => {
147
const date = new Date("2023-12-25T10:30:00.123Z");
158
const dt = new DateTime(date);

0 commit comments

Comments
 (0)