Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
slemke committed Jan 3, 2024
1 parent a9f5a04 commit 1e45979
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ npm install keycloak-testcontainer --save-dev
You can start a keycloak container with a few lines of code:

```js
import { Wait } from 'testcontainers';
import { KeycloakContainer } from 'keycloak-testcontainer';

describe('Keycloak Testcontainer Example', () => {
Expand All @@ -35,7 +34,7 @@ Currently, this package provides the following features:
### Starting a container

```js
import { KeycloakContainer } from 'node-keycloak-testcontainer';
import { KeycloakContainer } from 'keycloak-testcontainer';

const container = await new KeycloakContainer()
.start();
Expand Down Expand Up @@ -162,7 +161,7 @@ const container = await new KeycloakContainer()
### Stopping a container

```js
import { KeycloakContainer } from 'node-keycloak-testcontainer';
import { KeycloakContainer } from 'keycloak-testcontainer';

const container = await new KeycloakContainer()
.start();
Expand All @@ -172,7 +171,7 @@ await container.stop();
### Restarting a container

```js
import { KeycloakContainer } from 'node-keycloak-testcontainer';
import { KeycloakContainer } from 'keycloak-testcontainer';

const container = await new KeycloakContainer()
.start();
Expand Down

0 comments on commit 1e45979

Please sign in to comment.