We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4fb711 commit 090dbd7Copy full SHA for 090dbd7
lib/node_modules/@stdlib/utils/bifurcate-in/test/test.js
@@ -607,6 +607,12 @@ tape( 'the function invokes the predicate function with both the object value an
607
];
608
out = bifurcateIn( obj, predicate );
609
610
+ // To ensure stable comparison due to iteration order instability, we only want to test that the sets are the same, not the order...
611
+ out[ 0 ].sort();
612
+ out[ 1 ].sort();
613
+ expected[ 0 ].sort();
614
+ expected[ 1 ].sort();
615
+
616
t.deepEqual( out, expected, 'returns expected groups' );
617
t.end();
618
});
0 commit comments