We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb8ee0 commit 32ef4d5Copy full SHA for 32ef4d5
components/gitpod-protocol/src/util/logging.spec.ts
@@ -0,0 +1,23 @@
1
+/**
2
+ * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+
7
+import { suite, test } from "mocha-typescript";
8
+import { log } from "./logging";
9
10
+@suite
11
+class TestLogging {
12
+ @test public async testLogInfo_output() {
13
+ const testObj = {
14
+ null: null,
15
+ undefined: undefined,
16
+ empty: "",
17
+ foo: "bar",
18
+ number: 0,
19
+ };
20
+ log.info("info logging test", testObj);
21
+ }
22
+}
23
+module.exports = new TestLogging();
0 commit comments