Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed tests to work with date objects, added serve-test to run tests …
…continuously, fixed outstanding tslint errors
- Loading branch information
Jon Bone
committed
Nov 9, 2016
1 parent
76c652b
commit d6d1ed1
Showing
8 changed files
with
102 additions
and
56 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,50 @@ | ||
"use strict"; | ||
|
||
var webpackConfig = require('./webpack.test.conf'); | ||
|
||
module.exports = function (config) { | ||
var _config = { | ||
basePath: '', | ||
frameworks: ['jasmine'], | ||
|
||
plugins: [ | ||
require('karma-webpack'), | ||
require('karma-sourcemap-loader'), | ||
require('karma-jasmine'), | ||
require('karma-chrome-launcher'), | ||
require('karma-spec-reporter'), | ||
require('karma-remap-istanbul'), | ||
require('karma-coverage') | ||
], | ||
|
||
files: [ | ||
{pattern: './karma-test-shim.conf.js', watched: false} | ||
], | ||
|
||
preprocessors: { | ||
'./karma-test-shim.conf.js': ['webpack', 'sourcemap'] | ||
}, | ||
|
||
webpack: webpackConfig, | ||
|
||
webpackServer: { | ||
noInfo: true | ||
}, | ||
|
||
remapIstanbulReporter: { | ||
reports: { | ||
lcovonly: './coverage/lcov.info', | ||
html: './coverage' | ||
} | ||
}, | ||
|
||
reporters: ['spec', 'karma-remap-istanbul'], | ||
port: 9876, | ||
colors: true, | ||
logLevel: config.LOG_INFO, | ||
autoWatch: true, | ||
browsers: ['Chrome'], | ||
}; | ||
|
||
config.set(_config); | ||
}; |
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
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
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