Skip to content

Commit 9539106

Browse files
committed
Fix style
1 parent 92ca8e3 commit 9539106

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/basics.spec.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ describe('MockAdapter basics', function() {
533533
});
534534
});
535535

536-
it('should overwrite existing mock', function() {
536+
it('overwrites existing mock', function() {
537537
var data = [
538538
{
539539
bar: 123
@@ -549,10 +549,8 @@ describe('MockAdapter basics', function() {
549549
mock.onGet('/').reply(200, data);
550550
mock.onGet('/').reply(200, data2);
551551

552-
return instance
553-
.get('/')
554-
.then(function(response) {
555-
expect(response.data).to.deep.equal(data2);
556-
});
552+
return instance.get('/').then(function(response) {
553+
expect(response.data).to.deep.equal(data2);
554+
});
557555
});
558556
});

0 commit comments

Comments
 (0)