Skip to content

Commit 611f9fc

Browse files
committed
docs(eventstoredb): add another example in the docs and fix the code block references
1 parent 802872d commit 611f9fc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/modules/eventstoredb.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ npm install @testcontainers/eventstoredb --save-dev
1111
## Examples
1212

1313
<!--codeinclude-->
14-
[Start container:](../../packages/modules/redis/src/redis-container.test.ts) inside_block:startContainer
14+
[Start container:](../../packages/modules/eventstoredb/src/eventstoredb-container.test.ts) inside_block:startContainer
15+
<!--/codeinclude-->
16+
17+
<!--codeinclude-->
18+
[Start container:](../../packages/modules/eventstoredb/src/eventstoredb-container.test.ts) inside_block:usingStandardProjections
1519
<!--/codeinclude-->

packages/modules/eventstoredb/src/eventstoredb-container.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ describe("EventStoreDBContainer", () => {
4444
});
4545
// }
4646

47+
// usingStandardProjections {
4748
it("should use built-in projections", async () => {
4849
const container = await new EventStoreDBContainer().start();
4950
const client = EventStoreDBClient.connectionString(container.getConnectionString());
@@ -85,6 +86,7 @@ describe("EventStoreDBContainer", () => {
8586
await stream.unsubscribe();
8687
await container.stop();
8788
});
89+
// }
8890
});
8991

9092
async function consumeSteamingRead(read: StreamingRead<unknown>): Promise<unknown[]> {

0 commit comments

Comments
 (0)