Skip to content

Commit 7bb537a

Browse files
committed
test: set up integration tests
Relates to #2 Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
1 parent 589ad37 commit 7bb537a

5 files changed

Lines changed: 1886 additions & 83 deletions

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,19 @@ npm run build
2626

2727
```
2828
## Running tests
29-
You can use the provided npm command to run all tests by using:
29+
30+
> [!IMPORTANT]
31+
> Integrations tests use [Testcontainers](https://testcontainers.com/) and require an [container runtime](https://node.testcontainers.org/supported-container-runtimes/) to be installed.
3032
3133
```
34+
# run all tests
3235
npm run test
36+
37+
# run only unit tests
38+
npm run test:unit
39+
40+
# run only integration tests
41+
npm run test:integration
3342
```
3443

3544
## :v: Code of conduct

0 commit comments

Comments
 (0)