Skip to content

Commit

Permalink
Update tests for dataset refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Harding committed Jul 6, 2013
1 parent 57366fc commit 67426bc
Show file tree
Hide file tree
Showing 18 changed files with 5,287 additions and 6,610 deletions.
77 changes: 77 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
// Karma configuration
// Generated on Sun Jun 30 2013 00:14:30 GMT-0700 (PDT)


// base path, that will be used to resolve files and exclude
basePath = '';


// list of files / patterns to load in the browser
files = [
'test/vendor/**/*',
'src/version.js',
'src/utils.js',
'src/lru_cache.js',
'src/event_emitter.js',
'src/persistent_storage.js',
'src/transport.js',
'src/search_index.js',
'src/dataset.js',
JASMINE,
JASMINE_ADAPTER,
'test/fixtures/**/*',
'test/helpers/**/*',
'test/*_spec.js'
];


// list of files to exclude
exclude = [

];


// test results reporter to use
// possible values: 'dots', 'progress', 'junit'
reporters = ['progress'];


// web server port
port = 9876;


// cli runner port
runnerPort = 9100;


// enable / disable colors in the output (reporters and logs)
colors = true;


// level of logging
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
logLevel = LOG_INFO;


// enable / disable watching file and executing tests whenever any file changes
autoWatch = true;


// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera
// - Safari (only Mac)
// - PhantomJS
// - IE (only Windows)
browsers = ['Chrome'];


// If browser does not capture in given timeout [ms], kill it
captureTimeout = 60000;


// Continuous Integration mode
// if true, it capture browsers, run tests and exit
singleRun = false;
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"grunt-contrib-jasmine": "~0.4",
"grunt-contrib-clean": "~0.4.0",
"semver": "~1.1.3",
"grunt-parallel": "0.0.2"
"grunt-parallel": "0.0.2",
"karma": "~0.8.6"
},
"scripts": {
"test": "grunt test"
Expand Down
Loading

0 comments on commit 67426bc

Please sign in to comment.