不要怂,就是干,撸起袖子干!

Commit 6f26af73 by Sascha Depold

set the timeout in the makefile

1 parent 19828b24
...@@ -13,9 +13,9 @@ teaser: ...@@ -13,9 +13,9 @@ teaser:
test: test:
@if [ "$$GREP" ]; then \ @if [ "$$GREP" ]; then \
make teaser && ./node_modules/mocha/bin/mocha --colors --reporter $(REPORTER) -g "$$GREP" $(TESTS); \ make teaser && ./node_modules/mocha/bin/mocha --colors -t 10000 --reporter $(REPORTER) -g "$$GREP" $(TESTS); \
else \ else \
make teaser && ./node_modules/mocha/bin/mocha --colors --reporter $(REPORTER) $(TESTS); \ make teaser && ./node_modules/mocha/bin/mocha --colors -t 10000 --reporter $(REPORTER) $(TESTS); \
fi fi
......
...@@ -13,8 +13,6 @@ chai.use(datetime) ...@@ -13,8 +13,6 @@ chai.use(datetime)
chai.Assertion.includeStack = true chai.Assertion.includeStack = true
describe(Support.getTestDialectTeaser("DAO"), function () { describe(Support.getTestDialectTeaser("DAO"), function () {
this.timeout(10000)
beforeEach(function(done) { beforeEach(function(done) {
this.User = this.sequelize.define('User', { this.User = this.sequelize.define('User', {
username: { type: DataTypes.STRING }, username: { type: DataTypes.STRING },
......
...@@ -8,8 +8,6 @@ var chai = require('chai') ...@@ -8,8 +8,6 @@ var chai = require('chai')
chai.Assertion.includeStack = true chai.Assertion.includeStack = true
describe(Support.getTestDialectTeaser("Hooks"), function () { describe(Support.getTestDialectTeaser("Hooks"), function () {
this.timeout(10000)
describe('#validate', function() { describe('#validate', function() {
describe('via define', function() { describe('via define', function() {
describe('on success', function() { describe('on success', function() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!