Spencer Alger
53e9bb8198
watch _*.less files too
2014-03-12 10:16:56 -07:00
Spencer Alger
84e24a975c
allow disabling of the test watcher
2014-03-07 11:25:40 -07:00
Spencer Alger
a286a0fc00
broke courier tests into many smaller pieces, and setup tests as children of other suites so that we can use mocha's 'grep' functionality more predictably
2014-03-07 10:27:19 -07:00
Spencer Alger
11652eba2c
added 'maybe_start_server' grunt task that will ping to see if a kibana dev server is running, and start one if not. Allows us to run the unit tests via npm test
when grunt dev
is already running.
2014-03-06 17:37:43 -07:00
Spencer Alger
85a420d5a5
allow grepping of the coverage report
2014-03-06 11:22:27 -07:00
Spencer Alger
a619c0b52b
Fixed the test, which required a bit of dependency mapping. Fixed '/' redirect. query string's don't need =true to work.
2014-03-05 22:08:22 -07:00
Spencer Alger
94c1458c81
added code coverage and couple other things.
2014-03-05 16:56:42 -07:00
Spencer Alger
40b3021e48
jade task only prepares the "files" template var for templates in the unit test dir and ignores .jade files who's filename start with an underscore.
...
watch:test only watches the test's js files and runs the tests when they change.
2014-03-05 14:13:23 -07:00
Spencer Alger
0a0c5b69bf
added jshint to the grunt config files as well as the test files.
2014-03-03 14:57:47 -07:00
Spencer Alger
7297c326f1
Discovery Panel Skeleton
...
- renamed calculateIndices files to be calculate_indices
- hooked up dataSource.getFields() to the mapper, uses source._wrapcb() to properly trigger digest cycles
- fixed an error handling bug in the search source
- courier error DocFetchFailure is now just FetchFailure and will be sent from SearchSources as well
- courier/index_pattern module is now gone
- fixed a bug in the mapper that improperly triggered errors when a pattern matched multiple indices that had similar fields
- prototype for discover app is included
- directives/kbn_view module is now directives/view, the kbn prefix is implied
- added basic table directive
2014-02-26 10:09:26 -07:00
Spencer Alger
e49733292d
Updates to the grunt tasks make the jade and less tasks more generic, compiling any file they find in place.
2014-02-25 12:42:40 -07:00
Spencer Alger
869a783e86
removed less-middleware dep
2014-02-24 15:48:12 -07:00
Spencer Alger
a3fcbbd21d
added less compilation via watch, and a task which will build the less and jade, start the server, then watch for changes
2014-02-24 15:47:09 -07:00
Chris Cowan
f220d87bae
Adding .DS_Store; Adding calculateIndices.js
2014-02-24 15:14:31 -07:00
Spencer Alger
0217b6ccce
added connect middleware to grunt's server task
2014-02-24 12:47:00 -07:00
Rashid Khan
4c549809f1
Resolve conflicts, move test server to port 8001
2014-02-14 07:50:32 -07:00
Spencer Alger
7f478ea60e
merging in latest changes from master
2014-02-13 16:47:20 -07:00
Rashid Khan
63ebfd9852
Add default jshint grunt task. Remove promise from mapper
2014-02-12 15:05:34 -07:00
Spencer Alger
a1336836b3
reorganized the projects a tad, included grunt tasks for testing and running the server. Includes incomplete Courier code for now.
2014-02-10 16:09:04 -07:00