You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test suite is run using [bun](https://bun.sh/).
5
+
6
+
## Setup
7
+
From this directory:
8
+
```sh
9
+
bun install
10
+
cp .env.example .env
11
+
```
12
+
13
+
Edit the `.env` file (or leave as is) to configure the network to either your localsecret or pulsar-3.
14
+
15
+
## Run
16
+
```sh
17
+
bun run test## compiles the contract for integration tests and runs the main test suite
18
+
```
19
+
20
+
21
+
## Debugging
22
+
23
+
In case there is a silent failure, it may help to run the suite using node.js instead of bun. You can compile it and run it and debug it interactively with the following commands:
24
+
```sh
25
+
bun run build && node --env-file=.env --inspect-brk dist/main.js
26
+
```
27
+
28
+
The console output should look something like this:
29
+

0 commit comments