Skip to content

Commit

Permalink
Add content test
Browse files Browse the repository at this point in the history
  • Loading branch information
dixso committed Dec 27, 2016
1 parent 4c28ab0 commit 8fc2c91
Show file tree
Hide file tree
Showing 4 changed files with 564 additions and 328 deletions.
11 changes: 9 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,23 @@ module.exports = function(config) {
frameworks: ['jasmine', 'karma-typescript'],

files: [
{
pattern: 'https://cdnjs.cloudflare.com/ajax/libs/jasmine-ajax/3.3.1/mock-ajax.min.js'
},
{
pattern: 'src/*.scss'
},
{
pattern: 'src/*.ts'
}
],

preprocessors: {
'**/*.ts': ['karma-typescript']
'src/*.ts': ['karma-typescript'],
'src/*.scss': ['scss'],
},

reporters: ['dots', 'karma-typescript'],
reporters: ['mocha', 'karma-typescript'],

coverageReporter: {
type: 'lcov',
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
"karma-cli": "^1.0.1",
"karma-coveralls": "^1.1.2",
"karma-jasmine": "^1.1.0",
"karma-mocha-reporter": "^2.2.1",
"karma-scss-preprocessor": "^2.0.0",
"karma-typescript": "^2.1.5",
"matchdep": "^1.0.1",
"node-sass": "^4.1.1",
"time-grunt": "^1.4.0",
"tslint": "^4.2.0",
"typescript": "^2.1.4"
Expand Down
Loading

0 comments on commit 8fc2c91

Please sign in to comment.