A
A
AlxMrz2017-08-25 22:43:39
JavaScript
AlxMrz, 2017-08-25 22:43:39

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 question

Ask a Question

731 491 924 answers to any question