@itwin/reality-data-client
Version:
HTTP Client for the iTwin Platform Reality Management APIs
13 lines • 707 B
JavaScript
import { getAccessTokenFromBackend, TestUsers } from "@itwin/oidc-signin-tool/lib/cjs/frontend";
/** Basic configuration used by all tests
*/
export class TestConfig {
// iTwin id used by tests
static integrationTestsITwinId = "614a3c70-cc9f-4de9-af87-f834002ca19e"; // iTwin name = "Integration tests for reality-data-client"
static integrationTestsITwinIdProjects = "84856374-51ed-4f13-a386-6721e01f87a3"; // iTwin name = "Integration tests for Reality Data Client 2"
/** Login the specified user and return the AuthorizationToken */
static async getAccessToken(user = TestUsers.regular) {
return getAccessTokenFromBackend(user);
}
}
//# sourceMappingURL=TestConfig.js.map