Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

Commit

Permalink
More exported data
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenedith committed Feb 25, 2016
1 parent e76683e commit 93be734
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ module.exports = {
},
enum: {
eventEnum: require('./lib/enum/eventEnum'),
variantEnum: require('./lib/enum/variantEnum')
variantEnum: require('./lib/enum/variantEnum'),
mileageEnum: require('./lib/enum/mileageEnum')
},
model: {
/**
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vehicle-history-model",
"version": "0.12.0",
"version": "0.13.0",
"description": "Vehicle history model.",
"main": "./index.js",
"dependencies": {
Expand Down Expand Up @@ -45,6 +45,6 @@
"node": ">=5.6.0"
},
"readmeFilename": "README.md",
"_id": "vehicle-history-model@0.12.0",
"_from": "vehicle-history-model@^0.12.0"
"_id": "vehicle-history-model@0.13.0",
"_from": "vehicle-history-model@^0.13.0"
}
7 changes: 7 additions & 0 deletions test/indexTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ describe('index test', function () {
done();
});

it('should export mileageEnum function', function (done) {

var mileageEnum = index.enum.mileageEnum;
should.exist(mileageEnum);
done();
});

it('should export SearchCarRequest model', function (done) {

var searchCarRequest = index.model.searchCarRequest;
Expand Down

0 comments on commit 93be734

Please sign in to comment.