Skip to content

Commit 32ef4d5

Browse files
kylos101roboquat
authored andcommitted
[gitpod-protocol] add fixture to test Logging
1 parent 1eb8ee0 commit 32ef4d5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)