We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ca8e3 commit 9539106Copy full SHA for 9539106
test/basics.spec.js
@@ -533,7 +533,7 @@ describe('MockAdapter basics', function() {
533
});
534
535
536
- it('should overwrite existing mock', function() {
+ it('overwrites existing mock', function() {
537
var data = [
538
{
539
bar: 123
@@ -549,10 +549,8 @@ describe('MockAdapter basics', function() {
549
mock.onGet('/').reply(200, data);
550
mock.onGet('/').reply(200, data2);
551
552
- return instance
553
- .get('/')
554
- .then(function(response) {
555
- expect(response.data).to.deep.equal(data2);
556
- });
+ return instance.get('/').then(function(response) {
+ expect(response.data).to.deep.equal(data2);
+ });
557
558
0 commit comments