mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Update test.js
This commit is contained in:
@ -15,9 +15,8 @@ function randomString() {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
||||||
const userEmail = randomString() + "_test@mail.org";
|
|
||||||
|
|
||||||
describe('Person tests', () => {
|
describe('Person tests', () => {
|
||||||
|
const userEmail = randomString() + "_test@mail.org";
|
||||||
it('should return a 201 status code for POST /persons', async () => {
|
it('should return a 201 status code for POST /persons', async () => {
|
||||||
const userData = {
|
const userData = {
|
||||||
"email": userEmail,
|
"email": userEmail,
|
||||||
|
Reference in New Issue
Block a user