2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

Improving tests in anticipation for saucelabs support

This commit is contained in:
Matt Zabriskie
2016-03-03 22:44:16 -07:00
parent e2fbc68960
commit e7aa98f9f5
2 changed files with 3 additions and 7 deletions
+2 -4
View File
@@ -81,8 +81,7 @@ describe('options', function () {
it('should accept base URL', function (done) {
var request;
const instance = axios.create({
var instance = axios.create({
baseURL: 'http://test.com/'
});
@@ -100,8 +99,7 @@ describe('options', function () {
it('should ignore base URL if request URL is absolute', function (done) {
var request;
const instance = axios.create({
var instance = axios.create({
baseURL: 'http://someurl.com/'
});