@cnlabs/ll-yandex-db-test-helpers
Version:
Library to work with Yandex Database in GitLab ci/cd pipelines
19 lines (16 loc) • 463 B
TypeScript
import {CreateTableInput} from "aws-sdk/clients/dynamodb";
import {DynamoDB} from "aws-sdk";
declare module 'll-yandex-db-test-helpers' {
interface NewTestClientOptions {
endpoint: string;
keyId: string;
secretKey: string;
}
class TestClient {
ydb: DynamoDB;
constructor(options: NewTestClientOptions);
createTables(tables: [CreateTableInput]);
clearAllTables();
dropTables();
}
}