updated mocha

This commit is contained in:
DadaMonad
2015-02-17 19:37:15 +00:00
parent 77b83cae2a
commit c65f11b308
6 changed files with 17 additions and 20 deletions

View File

@@ -87,8 +87,9 @@ class JsonTest extends Test
]
describe "JsonFramework", ->
@timeout 50000
beforeEach (done)->
@timeout 50000
@yTest = new JsonTest()
@users = @yTest.users

View File

@@ -1,6 +1,5 @@
chai = require('chai')
expect = chai.expect
should = chai.should()
sinon = require('sinon')
sinonChai = require('sinon-chai')
_ = require("underscore")
@@ -13,7 +12,7 @@ module.exports = class Test
constructor: (@name_suffix = "")->
@number_of_test_cases_multiplier = 1
@repeat_this = 3 * @number_of_test_cases_multiplier
@doSomething_amount = 1230 * @number_of_test_cases_multiplier
@doSomething_amount = 123 * @number_of_test_cases_multiplier
@number_of_engines = 5 + @number_of_test_cases_multiplier - 1
@time = 0 # denotes to the time when run was started

View File

@@ -29,6 +29,8 @@ class TextTest extends Test
@users[user_num].val("TextTest").val()
describe "TextFramework", ->
@timeout 50000
beforeEach (done)->
@timeout 50000
@yTest = new TextTest()