Right now, when you run it, you'll see something like
$ bun run integration-tests
$ bun run scripts/integration-tests.ts
API started, running tests...
bun test v1.2.18 (0d4089ea)
tests/integration/login-flow.test.ts:
✓ Verify Email Flow > If I make a request with an unregistered email, I get an error [503.61ms]
✓ Verify Email Flow > If I make a request with an inactive user, I get an error [466.92ms]
✓ Verify Email Flow > If I make a request with the wrong password, I get an error [739.82ms]
✓ Verify Email Flow > If I make a request with the correct credentials, I get a session ID and refresh token [715.19ms]
tests/integration/register-flow.test.ts:
✓ Register Flow > doesn't store invalid credentials [11.12ms]
✓ Register Flow > stores valid credentials [637.33ms]
6 pass
0 fail
19 expect() calls
Ran 6 tests across 2 files. [4.51s]
Integration tests passed
It would just be nice to know how much time the test running took on top of that to startup and shutdown docker.
Right now, when you run it, you'll see something like
It would just be nice to know how much time the test running took on top of that to startup and shutdown docker.