ancient-appointment-66951
01/09/2021, 12:29 AMancient-appointment-66951
01/09/2021, 12:30 AMancient-appointment-66951
01/09/2021, 12:45 AMuser
01/11/2021, 8:07 AMstocky-dream-36427
01/13/2021, 10:22 PMstocky-dream-36427
01/13/2021, 10:22 PMstocky-dream-36427
01/13/2021, 10:22 PMstocky-dream-36427
01/13/2021, 10:22 PMstocky-dream-36427
01/13/2021, 10:23 PMstocky-dream-36427
01/13/2021, 10:23 PMuser
01/14/2021, 6:53 AMbright-agent-70011
01/22/2021, 9:42 PMbright-agent-70011
01/23/2021, 2:22 PMstocky-dream-36427
01/25/2021, 1:13 AMstocky-dream-36427
01/25/2021, 1:13 AMancient-appointment-66951
01/25/2021, 5:12 AMancient-appointment-66951
01/25/2021, 5:12 AMbreezy-australia-64868
02/02/2021, 2:10 AMmounted()
hook. I'm trying to stub it after I mount the component like cy.stub(Cypress.vue, 'getSomething')
but the mouned hook seems to always run before the stub happens. If I stub it before I mount I don't have access to Cypress.vue
... Is there a good way with component testing to set up a stub before actually mounting the component? thx!stocky-dream-36427
02/02/2021, 3:53 AMstocky-dream-36427
02/02/2021, 3:54 AMstocky-dream-36427
02/02/2021, 3:57 AMstocky-dream-36427
02/02/2021, 3:57 AMbreezy-australia-64868
02/02/2021, 2:38 PMstocky-dream-36427
02/03/2021, 12:01 AMstocky-dream-36427
02/03/2021, 12:01 AMstocky-dream-36427
02/03/2021, 12:02 AMstocky-dream-36427
02/03/2021, 12:02 AMbreezy-australia-64868
02/03/2021, 1:26 AMmount(Component, extensions, mocks: { $api... })
, and then I could prevent the api call from ever happening. Thanks for the quick reply!stocky-dream-36427
02/03/2021, 1:37 AMstocky-dream-36427
02/03/2021, 1:38 AM