testacular -> karma
This commit is contained in:
parent
c0d01ceffe
commit
28daa9e9b1
@ -156,8 +156,8 @@ exports.build = function (compsBase32, buildName) {
|
||||
};
|
||||
|
||||
exports.test = function() {
|
||||
var testacular = require('testacular'),
|
||||
testConfig = {configFile : __dirname + '/../spec/testacular.conf.js'};
|
||||
var karma = require('karma'),
|
||||
testConfig = {configFile : __dirname + '/../spec/karma.conf.js'};
|
||||
|
||||
testConfig.browsers = ['PhantomJS'];
|
||||
|
||||
@ -179,7 +179,7 @@ exports.test = function() {
|
||||
testConfig.reporters = ['coverage'];
|
||||
}
|
||||
|
||||
testacular.server.start(testConfig);
|
||||
karma.server.start(testConfig);
|
||||
|
||||
function isArgv(optName) {
|
||||
return process.argv.indexOf(optName) !== -1;
|
||||
|
@ -4,7 +4,7 @@
|
||||
"description": "JavaScript library for mobile-friendly interactive maps",
|
||||
"devDependencies": {
|
||||
"jshint": "~1.1.0",
|
||||
"testacular": "~0.6.0",
|
||||
"karma": "~0.8.0",
|
||||
"uglify-js": "~2.2.5",
|
||||
"jake": "~0.5.10"
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Testacular configuration
|
||||
// Karma configuration
|
||||
var libSources = require(__dirname+'/../build/build.js').getFiles();
|
||||
|
||||
// base path, that will be used to resolve files and exclude
|
||||
@ -13,7 +13,7 @@ files = [].concat([
|
||||
JASMINE,
|
||||
JASMINE_ADAPTER,
|
||||
"before.js",
|
||||
"testacular.js"
|
||||
"karma.js"
|
||||
], libSources, [
|
||||
"after.js",
|
||||
"happen.js",
|
Loading…
Reference in New Issue
Block a user