Add test running section to README

This commit is contained in:
Henrik Hüttemann 2023-06-05 13:26:04 +02:00
parent 4f9bde109f
commit 7560d76c4b
No known key found for this signature in database
GPG Key ID: 9F7BD10E0A8A111E
2 changed files with 5 additions and 1 deletions

View File

@ -39,6 +39,10 @@ curl --request POST \
Copy over `.env.example` to `.env` and insert your values.
## Running Tests
`npm test`.
## Design Decisions
- Getting data from Rocket.Chat via (currently) manual mongodb export

View File

@ -42,7 +42,7 @@ test('creating users', async () => {
expect(mockedAxios.get).toHaveBeenCalledWith('/_synapse/admin/v1/register')
expect(mockedAxios.post).toHaveBeenCalled()
// The following test rails with an incorrect return value, for whatever reason.
// The following test fails with an incorrect return value, for whatever reason.
// Probably because of mutated call logs in jest due to the `delete` or sth.
// expect(mockedAxios.post).toHaveBeenCalledWith('/_synapse/admin/v1/register', {
// ...matrixUser,