2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Moving many nodeunit tests to jasmine

This commit is contained in:
mzabriskie
2015-03-18 17:12:51 -06:00
parent b745600ab7
commit fc12b933f7
19 changed files with 264 additions and 260 deletions
+12
View File
@@ -0,0 +1,12 @@
var trim = require('../../../lib/utils').trim;
describe('utils::trim', function () {
it('should trim spaces', function () {
expect(trim(' foo ')).toEqual('foo');
});
it('should trim tabs', function () {
expect(trim('\tfoo\t')).toEqual('foo');
});
});