Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/gitpod-protocol/src/util/logging.spec.ts
2500 views
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 "@testdeck/mocha";
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();
24
25