gitpod/components/gitpod-db/src/tables.spec.ts
2023-10-23 12:20:31 +03:00

27 lines
681 B
TypeScript

/**
* Copyright (c) 2021 Gitpod GmbH. All rights reserved.
* Licensed under the GNU Affero General Public License (AGPL).
* See License.AGPL.txt in the project root for license information.
*/
import * as chai from "chai";
const expect = chai.expect;
import { suite, test, timeout } from "@testdeck/mocha";
import { GitpodTableDescriptionProvider } from "./tables";
@suite.only
class TablesSpec {
async before() {}
async after() {}
@test(timeout(10000))
public async createAndFindATeam() {
const thing = new GitpodTableDescriptionProvider();
expect(() => thing.getSortedTables()).to.not.throw();
}
}
module.exports = new TablesSpec();