Permalink
Browse files

updated testacular to karma

  • Loading branch information...
1 parent 29aa09d commit 17f9a02541d0e08253fbbbe341a07f35c09fce0e @cengebretson cengebretson committed Mar 30, 2013
Showing with 8 additions and 8 deletions.
  1. +3 −3 lib/hem.js
  2. +1 −1 package.json
  3. +4 −4 src/hem.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -27,7 +27,7 @@
"watch" : "~0.5.0",
"connect": "~2.6.0",
"http-proxy": "~0.8.2",
- "testacular": ">=0.6.0",
+ "karma": ">=0.8.0",
"jade": ">=0.28.2"
}
}
View
@@ -194,17 +194,17 @@ class Hem
configFile : require.resolve("../assets/testacular.conf.js")
singleRun : singleRun
basePath : process.cwd()
- logLevel : 2
+ logLevel : 'error'
browsers : argv.browser and argv.browser.split(/[ ,]+/) or ['PhantomJS']
files : @createTestacularFileList()
# start testacular server
- require('testacular').server.start(testConfig)
+ require('karma').server.start(testConfig)
createTestacularFileList: () ->
# look at at test type to see what assets we add
- fileList = [require.resolve("../node_modules/testacular/adapter/lib/jasmine.js"),
- require.resolve("../node_modules/testacular/adapter/jasmine.js")]
+ fileList = [require.resolve("../node_modules/karma/adapter/lib/jasmine.js"),
+ require.resolve("../node_modules/karma/adapter/jasmine.js")]
# TODO: would we ever need a way to specificy only certain files to test??
# Perhaps a special package type that just lists a group of packages to build/test??
# "testGroup" : [ "spine", "test" ], then check typeof array to use this group?? Would need a

0 comments on commit 17f9a02

Please sign in to comment.