mirror of https://github.com/xfarrow/blink
Update test.js
This commit is contained in:
parent
d043869050
commit
6b60d4c006
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue