You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vest version: 4.6.8
Framework: NextJs 13/React 18
Jest version: 29.2.0
I'm currently running a test with my Login page. Here is my validation suite for my login form.
//suite.tsimport{create,enforce,test}from'vest';importvalidatorfrom'validator';enforce.extend({isEmail: validator.isEmail});exportconstsuite=create((data)=>{test('email','Email is required',()=>{enforce(data?.email).isNotEmpty();});test('email','Email must be valid',()=>{enforce(data?.email).isEmail();});test('password','Password is required',()=>{enforce(data?.password).isNotEmpty();});});
Vest version: 4.6.8
Framework: NextJs 13/React 18
Jest version: 29.2.0
I'm currently running a test with my
Login
page. Here is my validation suite for my login form.Here is my jest test.
I've attached a screenshot of my error below.
The text was updated successfully, but these errors were encountered: