B
B
borisovdenis2018-04-15 22:41:56
Unit testing
borisovdenis, 2018-04-15 22:41:56

What is the equivalent of $httpBackend.expectGET for unit testing Vue.js applications?

In Angular, to check that a request has occurred, there are such things:
$httpBackend.expectGET(...),
$httpBackend.expectPOST(...)
etc.
When writing unit tests for Vue.js, what can you advise similar?

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