forked from yagobski/loopback-connector-elastic-search
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Fix code comments and params + Add some unit test
- Loading branch information
Showing
15 changed files
with
409 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = function (grunt) { | ||
// Project configuration. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
// Configure a mochaTest task | ||
mochaTest: { | ||
test: { | ||
options: { | ||
reporter: 'spec', | ||
quiet: false // Optionally suppress output to standard out (defaults to false) | ||
}, | ||
src: ['test/**/*.js'] | ||
} | ||
} | ||
}); | ||
|
||
// Add the grunt-mocha-test tasks. | ||
grunt.loadNpmTasks('grunt-mocha-test'); | ||
// Default task(s). | ||
grunt.registerTask('default', ['mochaTest']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
0.0.1 2014-09-30 | ||
---------------- | ||
- First version | ||
- First version | ||
|
||
0.0.2 2014-10-01 | ||
---------------- | ||
- Add grunt, mocha and chai to depends. | ||
- Add unit test. | ||
- Correct some code comments and texts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = require('./lib/elastic'); | ||
module.exports = require('./lib/esConnector'); |
Oops, something went wrong.