File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/firestore/test/unit/util Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,14 @@ describe('FieldMask', () => {
56
56
57
57
describe ( 'CompareUtf8Strings' , ( ) => {
58
58
it ( 'compareUtf8Strings should return correct results' , ( ) => {
59
+ console . log ( "========running CompareUtf8Strings" )
59
60
const errors = [ ] ;
60
61
const seed = Math . floor ( Math . random ( ) * Number . MAX_SAFE_INTEGER ) ;
61
62
let passCount = 0 ;
62
63
const stringGenerator = new StringGenerator ( new Random ( seed ) , 0.33 , 20 ) ;
63
64
const stringPairGenerator = new StringPairGenerator ( stringGenerator ) ;
64
65
65
- for ( let i = 0 ; i < 1000 && errors . length < 10 ; i ++ ) {
66
+ for ( let i = 0 ; i < 100 && errors . length < 10 ; i ++ ) {
66
67
const { s1, s2 } = stringPairGenerator . next ( ) ;
67
68
68
69
const actual = compareUtf8Strings ( s1 , s2 ) ;
You can’t perform that action at this time.
0 commit comments