"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const chai = require("chai");
const TestContext_1 = require("./setup/TestContext");
const expect = chai.expect;
describe("IModel Views", () => {
    let iModel;
    before(async function () {
        const testContext = await TestContext_1.TestContext.instance();
        if (!testContext.settings.runiModelReadRpcTests)
            this.skip();
        iModel = await testContext.iModelWithChangesets.getConnection();
    });
    it("should load font map", async () => {
        const fontMap = await iModel.loadFontMap(); // eslint-disable-line @typescript-eslint/no-deprecated
        expect(fontMap).to.exist.and.be.not.empty;
    });
    it("should successfully get geometry containment", async () => {
        const requestProps = {
            candidates: [],
            clip: [],
        };
        const result = await iModel.getGeometryContainment(requestProps);
        expect(result).to.be.not.be.empty;
    });
});
//# sourceMappingURL=IModel.test.js.map