chai-untab.js
function hookIntoChai(){
	if(hooked) return;
	hooked = true;
	
	for(const method of ["equal", "string"]){
		Chai.Assertion.overwriteMethod(method, function(__super){
			return function(input, ...rest){
				__super.apply(this, [ doUntab(input), ...rest ]);
			}
		});
	}
}
function hookIntoChai(){
	if(hooked) return;
	hooked = true;
	
	for(const method of ["equal", "string"]){
		Chai.Assertion.overwriteMethod(method, function(__super){
			return function(input, ...rest){
				__super.apply(this, [ doUntab(input), ...rest ]);
			}
		});
	}
}
function hookIntoChai ( ) { if ( hooked ) return ; hooked = true ; for ( const method of [ "equal" , "string" ] ) { Chai . Assertion . overwriteMethod ( method , function ( __super ) { return function ( input , ... rest ) { __super . apply ( this , [ doUntab ( input ) , ... rest ] ) ; } } ) ; } }
Overwrite the necessary Chai methods for comparing string-blocks.

Only executed the first time Chai.untab is set.
@private
Overwrite the necessary Chai methods for comparing string - blocks .