Skip to content

Commit

Permalink
test preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhusar committed Feb 26, 2014
1 parent 24467f1 commit 447a23a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"node": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 4,
"newcap": true,
"noarg": true,
"quotmark": "single",
"regexp": true,
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"smarttabs": true
}
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- '0.10'
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"twitter",
"oauth"
],
"scripts": {
"test": "mocha"
},
"author": {
"name": "Daniel Husár",
"email": "dano.husar@gmail.com"
},
"dependencies": {
"oauth": "*"
},
"repository": {
"type": "git",
"url": "https://github.com/danielhusar/node-twitter"
Expand All @@ -27,6 +27,12 @@
"url": "http://en.wikipedia.org/wiki/MIT_License"
}
],
"dependencies": {
"oauth": "*"
},
"devDependencies": {
"mocha": "*"
},
"readmeFilename": "Readme.md",
"_id": "simple-twitter@1.0.0",
"_from": "simple-twitter"
Expand Down
7 changes: 7 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';
var assert = require('assert');
var twitter = require('../index');

it('test', function () {
assert.equal(true, true);
});

0 comments on commit 447a23a

Please sign in to comment.