2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-27 14:47:43 +03:00

Merge remote-tracking branch 'mzabriskie/master'

This commit is contained in:
Nick Uraltsev
2015-10-22 19:12:07 -07:00
4 changed files with 16 additions and 6 deletions
Vendored
+1
View File
@@ -29,6 +29,7 @@ declare module axios {
interface Response {
data?: any;
status?: number;
statusText?: string;
headers?: any;
config?: any;
}
+14 -4
View File
@@ -15,7 +15,7 @@ module.exports = function(config) {
// list of files / patterns to load in the browser
files: [
'webpack.tests.js'
'test/specs/**/*.spec.js'
],
@@ -28,17 +28,27 @@ module.exports = function(config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'webpack.tests.js': ['webpack', 'sourcemap', 'coverage']
'test/specs/**/*.spec.js': ['webpack', 'sourcemap']
},
webpack: {
cache: true,
devtool: 'inline-source-map',
module: {
postLoaders: [
{
test: /\.js$/,
exclude: /(node_modules|test)/,
loader: 'istanbul-instrumenter'
}
]
},
externals: [
{
'./adapters/http': 'var undefined'
}
],
devtool: 'inline-source-map'
]
},
webpackServer: {
+1
View File
@@ -40,6 +40,7 @@
"grunt-ts": "5.0.0-beta.5",
"grunt-update-json": "0.2.1",
"grunt-webpack": "1.0.11",
"istanbul-instrumenter-loader": "^0.1.3",
"jasmine-core": "2.3.4",
"karma": "0.13.10",
"karma-coverage": "0.5.2",
-2
View File
@@ -1,2 +0,0 @@
var context = require.context('./test/specs', true, /\.js$/);
context.keys().forEach(context);