Skip to content

erdoganoksuz/enzyme-waitForElement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

enzyme-waitForElement

Just copy and paste your setupFile

Usage

 it("should hello exist",async ()=>{
   const wrapper=shallow(<HelloWorld/>) 
   
   const el= await wrapper.waitForElement(".hello");
   
   expect(el.text()).toEqual("Hello")
 })

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published