Update test.js

This commit is contained in:
xfarrow 2024-11-14 15:44:58 +01:00
parent d043869050
commit 6b60d4c006
1 changed files with 1 additions and 2 deletions

View File

@ -15,9 +15,8 @@ function randomString() {
return result;
};
const userEmail = randomString() + "_test@mail.org";
describe('Person tests', () => {
const userEmail = randomString() + "_test@mail.org";
it('should return a 201 status code for POST /persons', async () => {
const userData = {
"email": userEmail,