mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Moving utility functions into utils
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
var trim = require('../../../lib/utils').trim;
|
||||
|
||||
module.exports = {
|
||||
testTrim: function (test) {
|
||||
test.equals(trim(' foo '), 'foo');
|
||||
test.done();
|
||||
},
|
||||
|
||||
testTrimTab: function (test) {
|
||||
test.equals(trim('\tfoo'), 'foo');
|
||||
test.done();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user