I had make a slider with GlideJS. This widget is working fine. But when I am writing the jest test. My Test is failing, it's saying TypeError: Cannot read property 'querySelector' of undefined. Here is the complete error while I am playing the test case.
I had make a slider with
GlideJS
. This widget is working fine. But when I am writing the jest test. My Test is failing, it's sayingTypeError: Cannot read property 'querySelector' of undefined
. Here is the complete error while I am playing the test case.Here is the Test Suite which I write down.