Timeline for How would I JEST test a @wire(CurrentPagereference)?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 16, 2022 at 3:28 | vote | accept | Tristan Berger | ||
Feb 14, 2022 at 17:59 | comment | added | Tristan Berger | The emit wasnt being registered. After looking at it this morning, it was because it was before the .append took place. This was causing the expect statement to not register it. | |
Feb 14, 2022 at 17:59 | answer | added | Tristan Berger | timeline score: 1 | |
Feb 14, 2022 at 16:47 | comment | added | Kris Goncalves | Are you waiting for DOM updates after emitting the adapter? Put another way, what's the rest of your jest test look like after the lines you shared? | |
Feb 14, 2022 at 1:44 | history | asked | Tristan Berger | CC BY-SA 4.0 |