Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/gitpod-db/src/tables.spec.ts
2498 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 * as chai from "chai";
8
const expect = chai.expect;
9
import { suite, test, timeout } from "@testdeck/mocha";
10
11
import { GitpodTableDescriptionProvider } from "./tables";
12
13
@suite.only
14
class TablesSpec {
15
async before() {}
16
17
async after() {}
18
19
@test(timeout(10000))
20
public async createAndFindATeam() {
21
const thing = new GitpodTableDescriptionProvider();
22
expect(() => thing.getSortedTables()).to.not.throw();
23
}
24
}
25
26
module.exports = new TablesSpec();
27
28