Answer the question
In order to leave comments, you need to log in
How to intercept javascript actions in QUnit?
Hello!
Is it possible to intercept the work of such functions as alert,console.log,location.reload (especially this one) when unit testing with QUnit? Those. make the output not on the screen, but in a variable, then to throw in assert.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question