@@ -36,14 +36,14 @@ describe('teeAndValidate middleware', () => {
3636 fakeChain . executeChain . resetHistory ( ) ;
3737 } ) ;
3838
39- it . only ( 'skips non-pack posts' , async ( ) => {
39+ it ( 'skips non-pack posts' , async ( ) => {
4040 req . method = 'GET' ;
4141 await teeAndValidate ( req , res , next ) ;
4242 expect ( next . calledOnce ) . to . be . true ;
4343 expect ( fakeRawBody . called ) . to . be . false ;
4444 } ) ;
4545
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 ( ) => {
4747 fakeChain . executeChain . resolves ( { blocked : true , blockedMessage : 'denied!' } ) ;
4848
4949 req . write ( 'abcd' ) ;
@@ -60,7 +60,7 @@ describe('teeAndValidate middleware', () => {
6060 expect ( res . send . calledWith ( handleMessage ( 'denied!' ) ) ) . to . be . true ;
6161 } ) ;
6262
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 ( ) => {
6464 fakeChain . executeChain . resolves ( { blocked : false , error : false } ) ;
6565
6666 req . write ( 'abcd' ) ;
@@ -76,10 +76,10 @@ describe('teeAndValidate middleware', () => {
7676} ) ;
7777
7878describe ( 'isPackPost()' , ( ) => {
79- it . only ( 'returns true for git-upload-pack POST' , ( ) => {
79+ it ( 'returns true for git-upload-pack POST' , ( ) => {
8080 expect ( isPackPost ( { method : 'POST' , url : '/a/b.git/git-upload-pack' } ) ) . to . be . true ;
8181 } ) ;
82- it . only ( 'returns false for other URLs' , ( ) => {
82+ it ( 'returns false for other URLs' , ( ) => {
8383 expect ( isPackPost ( { method : 'POST' , url : '/info/refs' } ) ) . to . be . false ;
8484 } ) ;
85- } ) ;
85+ } ) ;
0 commit comments