faint-energy-74313
04/25/2022, 11:07 AMpowerful-gigabyte-69168
04/25/2022, 1:24 PMfaint-energy-74313
04/25/2022, 1:25 PMfresh-doctor-14925
04/25/2022, 1:37 PMdry-furniture-93469
04/25/2022, 8:34 PMjs
const main = window.open;
window.open = (a, b) => main(a, b);
silly-dentist-68907
04/25/2022, 8:36 PMsparse-insurance-21987
04/26/2022, 11:13 AMmicroscopic-wall-16983
04/26/2022, 8:47 PMcolossal-table-17032
04/26/2022, 11:09 PMstrong-fountain-30659
04/28/2022, 8:37 AMable-monkey-72947
04/28/2022, 2:49 PMcy
commands?
And if so, how? Do you use Cypress to test Cypress? Or something like Jest?rough-monitor-85122
04/28/2022, 3:00 PMable-monkey-72947
04/28/2022, 3:01 PMrough-monitor-85122
04/28/2022, 3:04 PMable-monkey-72947
04/28/2022, 3:06 PMcy
object from anywhere so I'm having to mock every method from scratch. const { _, $ } = Cypress
in that test you linked already looks like that's going to be super helpful.rough-monitor-85122
04/28/2022, 3:07 PMrough-monitor-85122
04/28/2022, 3:08 PMable-monkey-72947
04/28/2022, 3:09 PMjest.createMockFromModule('...')
, which is a great way to spy on package code... but I'm doing SO MUCH mocking in my test is why I thought it was a good time to step back and ask some higher level questions.gifted-lizard-256
04/29/2022, 8:40 AMgifted-lizard-256
04/29/2022, 8:42 AMstale-optician-85950
04/29/2022, 10:21 AM- name: Some step
run: |
cd your/project/path
export NODE_OPTIONS="--max-old-space-size=8192"
cmd /c npx cypress run *
gifted-lizard-256
04/29/2022, 12:53 PMflaky-fall-49668
04/29/2022, 1:30 PMastonishing-city-18705
04/29/2022, 6:56 PMflaky-fall-49668
04/29/2022, 7:19 PMnarrow-glass-55583
04/30/2022, 2:21 PMadventurous-country-21192
04/30/2022, 9:04 PMadventurous-country-21192
04/30/2022, 9:04 PMadventurous-country-21192
04/30/2022, 9:05 PMsparse-cpu-70188
05/01/2022, 11:27 AM