File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const { json } = require('./common')
9
9
const TEST_APP = path . join ( __dirname , 'fixtures/test-server-acl/server.js' )
10
10
11
11
describe ( 'ACL' , function ( ) {
12
+ this . timeout ( 10000 )
12
13
let app = null
13
14
14
15
before ( function ( done ) {
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ const path = require('path')
6
6
const { requireUncached } = require ( './common' )
7
7
8
8
const TEST_APP = path . join ( __dirname , 'fixtures/test-server/server.js' )
9
- const DELAY = 200
10
9
11
10
describe ( 'Mixin' , function ( ) {
12
11
let app = null
@@ -33,7 +32,6 @@ describe('Mixin', function() {
33
32
this . sinon . spy ( app . models . Client , 'consumeAllItems' )
34
33
this . sinon . spy ( app . models . Client , 'consumeNewItems' )
35
34
return app . models . Item . publishItem ( 'a message' )
36
- . delay ( DELAY )
37
35
} )
38
36
39
37
it ( 'should call the relevant consumers when a mesage is received' , function ( ) {
@@ -50,7 +48,6 @@ describe('Mixin', function() {
50
48
this . sinon . spy ( app . models . Client , 'consumeAllItems' )
51
49
this . sinon . spy ( app . models . Client , 'consumeNewItems' )
52
50
return app . models . Item . publishItem ( 'a message' , 'item.write.created' )
53
- . delay ( DELAY )
54
51
} )
55
52
it ( 'should call the relevant consumers when a mesage is received' , function ( ) {
56
53
expect ( app . models . Client . consumeAllItems . calledOnce ) . to . be . true ( )
You can’t perform that action at this time.
0 commit comments