TypeScript icon, indicating that this package has built-in type declarations

    2.19.28 • Public • Published

    iModelHub client tests

    Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

    This package contains unit and integration tests for the iModelHub client (@bentley\imodelhub-client npm package).


    Refer to the iTwin.js prerequisites

    Running the tests

    Start by running the build instructions from this repository

    There are multiple sets of tests:

    1. npm test will run the unit tests
    2. npm run test:integration will run the integration tests
    3. npm run test:imodel-bank will run the iModelBank tests

    Test coverage

    Since this package contains the test for other packages, the test coverage output is not found in this package output, but in the appropriate package's output.

    The tests contained in this package are configured to generate incremental coverage from other packages. For example, if npm run cover has already been run for @bentley/imodelhub-client then npm run cover is run for this package, this package output will contain both the combined coverage results.

    This package generates test coverage for @bentley/backend-itwin-client (/core/backend-itwin-client) and @bentley/imodelhub-client (/clients/imodelhub). The coverage output can be found at lib/test/coverage/full-stack-tests from the root of the covered package.


    npm i @bentley/imodelhub-client-tests

    DownloadsWeekly Downloads






    Unpacked Size

    8.35 MB

    Total Files


    Last publish


    • cshafer
    • philip-mcgraw
    • colinkerr
    • imodeljs