Skip to content

Commit

Permalink
fixup: add a stub test
Browse files Browse the repository at this point in the history
  • Loading branch information
Miroslav Bajtoš committed May 23, 2014
1 parent 48884f7 commit 96d3332
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@
},
"main": "index.js",
"scripts": {
"pretest": "jshint ."
"pretest": "jshint .",
"test": "mocha"
},
"license": {
"name": "Dual MIT/StrongLoop",
"url": "https://github.com/strongloop/loopback-connector/blob/master/LICENSE"
},
"dependencies": {
"async": "^0.9.0"
},
"devDependencies": {
"mocha": "^1.19.0"
}
}
12 changes: 12 additions & 0 deletions test/smoke.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
var assert = require('assert');
var connector = require('../');

describe('loopback-connector', function() {
it('exports Connector', function() {
assert(connector.Connector);
});

it('exports SqlConnector', function() {
assert(connector.SqlConnector);
});
});

0 comments on commit 96d3332

Please sign in to comment.