"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const sinon_1 = __importDefault(require("sinon"));
const api_1 = require("@polkadot/api");
const src_1 = require("../../../src/");
const factory_1 = require("../../../src/factory");
describe("DefaultLoansAPI", () => {
    let api;
    let stubbedAssetRegistry;
    let loansApi;
    before(() => {
        api = new api_1.ApiPromise();
        // disconnect immediately to avoid printing errors
        // we only need the instance to create variables
        api.disconnect();
        api.registerTypes(factory_1.getAPITypes());
    });
    beforeEach(() => {
        stubbedAssetRegistry = sinon_1.default.createStubInstance(src_1.DefaultAssetRegistryAPI);
        const transactionAPI = new src_1.DefaultTransactionAPI(api);
        loansApi = new src_1.DefaultLoansAPI(api, stubbedAssetRegistry, transactionAPI);
    });
    describe("getLendPositionsOfAccount", () => {
        // TODO: add tests
    });
    describe("getBorrowPositionsOfAccount", () => {
        // TODO: add tests
    });
    describe("getLoanAssets", () => {
        // TODO: add tests
    });
});
//# sourceMappingURL=loans.test.js.map