-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move service files over, infrastructure for test
- Loading branch information
1 parent
6da2358
commit 17c0894
Showing
12 changed files
with
900 additions
and
79 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
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,26 +1,26 @@ | ||
{ | ||
"name": "splainer-search-demo", | ||
"version": "0.0.0", | ||
"authors": [ | ||
"Doug Turnbull <[email protected]>" | ||
], | ||
"description": "Demo", | ||
"keywords": [ | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"angular":"~1.2.0", | ||
"angular-sanitize":"~1.2.0", | ||
"angular-route":"~1.2.0", | ||
"angular-touch":"~1.2.0" | ||
}, | ||
"devDependencies": { | ||
} | ||
} | ||
{ | ||
"name": "splainer-search-demo", | ||
"version": "0.0.0", | ||
"authors": [ | ||
"Doug Turnbull <[email protected]>" | ||
], | ||
"description": "Demo", | ||
"keywords": [], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"angular": "~1.2.0", | ||
"angular-sanitize": "~1.2.0", | ||
"angular-route": "~1.2.0", | ||
"angular-touch": "~1.2.0" | ||
}, | ||
"devDependencies": { | ||
"angular-mocks": "~1.2.21" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
// Karma configuration | ||
// http://karma-runner.github.io/0.12/config/configuration-file.html | ||
// Generated on 2014-07-17 using | ||
// generator-karma 0.8.3 | ||
|
||
module.exports = function(config) { | ||
'use strict'; | ||
|
||
config.set({ | ||
// enable / disable watching file and executing tests whenever any file changes | ||
autoWatch: false, | ||
|
||
// base path, that will be used to resolve files and exclude | ||
basePath: './', | ||
|
||
// testing framework to use (jasmine/mocha/qunit/...) | ||
frameworks: ['jasmine'], | ||
|
||
// list of files / patterns to load in the browser | ||
files: [ | ||
'bower_components/angular/angular.js', | ||
'bower_components/angular-mocks/angular-mocks.js', | ||
'module.js', | ||
'services/**/*.js', | ||
'test/mock/**/*.js', | ||
'test/spec/**/*.js' | ||
], | ||
|
||
// list of files / patterns to exclude | ||
exclude: [], | ||
|
||
// web server port | ||
port: 8080, | ||
|
||
// Start these browsers, currently available: | ||
// - Chrome | ||
// - ChromeCanary | ||
// - Firefox | ||
// - Opera | ||
// - Safari (only Mac) | ||
// - PhantomJS | ||
// - IE (only Windows) | ||
browsers: [ | ||
'PhantomJS' | ||
], | ||
|
||
// Which plugins to enable | ||
plugins: [ | ||
'karma-phantomjs-launcher', | ||
'karma-chrome-launcher', | ||
'karma-jasmine' | ||
], | ||
|
||
// Continuous Integration mode | ||
// if true, it capture browsers, run tests and exit | ||
singleRun: true, | ||
|
||
colors: true, | ||
|
||
// level of logging | ||
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG | ||
logLevel: config.LOG_INFO, | ||
|
||
// Uncomment the following lines if you are using grunt's server to run the tests | ||
// proxies: { | ||
// '/': 'http://localhost:9000/' | ||
// }, | ||
// URL root prevent conflicts with the site root | ||
// urlRoot: '_karma_' | ||
}); | ||
}; |
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 @@ | ||
angular.module('o19s.splainer-search', []); |
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,23 +1,23 @@ | ||
{ | ||
"author": "", | ||
"name": "splainer-search-demo", | ||
"version": "0.0.0", | ||
"description": "", | ||
"homepage": "", | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"express":"~3.4.4", | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-uglify": "~0.2.5", | ||
"grunt-contrib-jshint": "~0.7.0" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": "", | ||
"engines":{ | ||
"node":"0.10.10" | ||
} | ||
} | ||
{ | ||
"author": "", | ||
"name": "splainer-search-demo", | ||
"version": "0.0.0", | ||
"description": "", | ||
"homepage": "", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"express": "~3.4.4", | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-jshint": "~0.7.0", | ||
"grunt-contrib-uglify": "~0.2.5", | ||
"grunt-karma": "^0.8.3" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": "", | ||
"engines": { | ||
"node": "0.10.10" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.