2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-14 18:42:33 +03:00

Using webpack for testing

This commit is contained in:
mzabriskie
2015-03-18 10:45:06 -06:00
parent dfa816df9b
commit b745600ab7
11 changed files with 28 additions and 5 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
var axios = require('../../index');
describe('api', function () {
it('should have request method helpers', function () {
expect(typeof axios.get).toEqual('function');
@@ -26,4 +28,4 @@ describe('api', function () {
expect(typeof axios.all).toEqual('function');
expect(typeof axios.spread).toEqual('function');
});
});
});
+2
View File
@@ -1,3 +1,5 @@
var axios = require('../../index');
describe('interceptors', function () {
beforeEach(function () {
jasmine.Ajax.install();
+2
View File
@@ -1,3 +1,5 @@
var axios = require('../../index');
describe('options', function () {
beforeEach(function () {
jasmine.Ajax.install();
+2
View File
@@ -1,3 +1,5 @@
var axios = require('../../index');
describe('promise', function () {
beforeEach(function () {
jasmine.Ajax.install();
+2
View File
@@ -1,3 +1,5 @@
var axios = require('../../index');
describe('transform', function () {
beforeEach(function () {
jasmine.Ajax.install();
+2
View File
@@ -1,3 +1,5 @@
var axios = require('../../index');
describe('wrapper', function () {
beforeEach(function () {
jasmine.Ajax.install();
+2
View File
@@ -1,3 +1,5 @@
var axios = require('../../index');
describe('xsrf', function () {
beforeEach(function () {
jasmine.Ajax.install();