deno.land / std@0.224.0 / log / info_test.ts

info_test.ts
View Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.import { assertEquals } from "../assert/assert_equals.ts";import { info } from "./info.ts";
Deno.test("info()", () => { const infoData: number = info(456, 1, 2, 3); const infoResolver: boolean | undefined = info(() => true); assertEquals(infoData, 456); assertEquals(infoResolver, true);});
std

Version Info

Tagged at
6 months ago