@@ -36,14 +36,14 @@ describe('teeAndValidate middleware', () => {
36
36
fakeChain . executeChain . resetHistory ( ) ;
37
37
} ) ;
38
38
39
- it . only ( 'skips non-pack posts' , async ( ) => {
39
+ it ( 'skips non-pack posts' , async ( ) => {
40
40
req . method = 'GET' ;
41
41
await teeAndValidate ( req , res , next ) ;
42
42
expect ( next . calledOnce ) . to . be . true ;
43
43
expect ( fakeRawBody . called ) . to . be . false ;
44
44
} ) ;
45
45
46
- it . only ( 'when the chain blocks it sends a packet and does NOT call next()' , async ( ) => {
46
+ it ( 'when the chain blocks it sends a packet and does NOT call next()' , async ( ) => {
47
47
fakeChain . executeChain . resolves ( { blocked : true , blockedMessage : 'denied!' } ) ;
48
48
49
49
req . write ( 'abcd' ) ;
@@ -60,7 +60,7 @@ describe('teeAndValidate middleware', () => {
60
60
expect ( res . send . calledWith ( handleMessage ( 'denied!' ) ) ) . to . be . true ;
61
61
} ) ;
62
62
63
- it . only ( 'when the chain allow it calls next() and overrides req.pipe' , async ( ) => {
63
+ it ( 'when the chain allow it calls next() and overrides req.pipe' , async ( ) => {
64
64
fakeChain . executeChain . resolves ( { blocked : false , error : false } ) ;
65
65
66
66
req . write ( 'abcd' ) ;
@@ -76,10 +76,10 @@ describe('teeAndValidate middleware', () => {
76
76
} ) ;
77
77
78
78
describe ( 'isPackPost()' , ( ) => {
79
- it . only ( 'returns true for git-upload-pack POST' , ( ) => {
79
+ it ( 'returns true for git-upload-pack POST' , ( ) => {
80
80
expect ( isPackPost ( { method : 'POST' , url : '/a/b.git/git-upload-pack' } ) ) . to . be . true ;
81
81
} ) ;
82
- it . only ( 'returns false for other URLs' , ( ) => {
82
+ it ( 'returns false for other URLs' , ( ) => {
83
83
expect ( isPackPost ( { method : 'POST' , url : '/info/refs' } ) ) . to . be . false ;
84
84
} ) ;
85
- } ) ;
85
+ } ) ;
0 commit comments