Skip to content

Commit

Permalink
Merge pull request #12 from tessel/tcr-tests
Browse files Browse the repository at this point in the history
Updates tests to work with "npm test"
  • Loading branch information
tcr committed Jul 22, 2014
2 parents 30b89f4 + b5d98a9 commit 9b46660
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"author": "Tim Cameron Ryan <[email protected]>",
"license": "MIT",
"devDependencies": {
"tinytap": "~0.0.2"
"async": "^0.9.0",
"tinytap": "^0.1.0"
}
}
6 changes: 4 additions & 2 deletions test/apiTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ var test = require('ttt');

var assert = require('assert');
var async = require('async');

var portname = process.argv[2] || 'A';
var tessel = require('tessel');
var accelLib = require('../');

var portname = process.argv[2] || 'A';
var requireTime = new Date(milliseconds);
var accel;

console.log('1..42')

async.series([
// Test connecting
test('Connecting to accelerometer module', function (t) {
Expand Down

0 comments on commit 9b46660

Please sign in to comment.