diff --git a/README.md b/README.md index 8a943ed..228f51a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/users.test.ts b/src/users.test.ts index a27ecc7..6fdf809 100644 --- a/src/users.test.ts +++ b/src/users.test.ts @@ -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,