Skip to content

Commit 0a22e3f

Browse files
committed
test: allow values other than true for unified filter
1 parent d38a6b6 commit 0a22e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runner/filters/unified_filter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class UnifiedTopologyFilter {
1717

1818
return (
1919
typeof unifiedTopology !== 'boolean' ||
20-
unifiedTopology === process.env.MONGODB_UNIFIED_TOPOLOGY
20+
unifiedTopology === !!process.env.MONGODB_UNIFIED_TOPOLOGY
2121
);
2222
}
2323
}

0 commit comments

Comments
 (0)