diff --git a/lib/node_modules/@stdlib/utils/configdir/benchmark/benchmark.js b/lib/node_modules/@stdlib/utils/configdir/benchmark/benchmark.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/utils/configdir/benchmark/benchmark.js
+++ b/lib/node_modules/@stdlib/utils/configdir/benchmark/benchmark.js
@@ -17,15 +17,15 @@ bench( pkg, function benchmark( b ) {
 	b.tic();
 	for ( i = 0; i < b.iterations; i++ ) {
 		dir = configdir( 'be' + String.fromCharCode( i%126 ) + 'ep' );
-		if ( !isString( dir ) ) {
-			b.fail( 'should return a string' );
+		if ( !isString( dir ) && dir !== null ) {
+			b.fail( 'should return a string or null' );
 		}
 	}
 	b.toc();
-	if ( isString( dir ) ) {
+	if ( isString( dir ) || dir === null ) {
 		b.pass( 'benchmark finished' );
 	} else {
-		b.fail( 'should return a string' );
+		b.fail( 'should return a string or null' );
 	}
 	b.end();
 });
Account for `null` as return value