Browse Source

adding comments to the tests

content-update
MSilva95 4 years ago committed by Clément
parent
commit
38d678dc50
  1. 12
      js/tests/using-filter_test.js

12
js/tests/using-filter_test.js

@ -22,7 +22,7 @@ t(({ eq, ctx }) =>
'Oregon', 'Oregon',
'Texas', 'Texas',
'Utah', 'Utah',
]), ])
) )
t(({ eq, ctx }) => t(({ eq, ctx }) =>
@ -40,7 +40,7 @@ t(({ eq, ctx }) =>
'Oklahoma', 'Oklahoma',
'Oregon', 'Oregon',
'Utah', 'Utah',
]), ])
) )
t(({ eq, ctx }) => t(({ eq, ctx }) =>
@ -52,7 +52,7 @@ t(({ eq, ctx }) =>
'South Carolina', 'South Carolina',
'South Dakota', 'South Dakota',
'West Virginia', 'West Virginia',
]), ])
) )
t(({ eq, ctx }) => t(({ eq, ctx }) =>
@ -66,7 +66,7 @@ t(({ eq, ctx }) =>
'Mississippi', 'Mississippi',
'New Jersey', 'New Jersey',
'Tennessee', 'Tennessee',
]), ])
) )
t(({ eq, ctx }) => t(({ eq, ctx }) =>
@ -92,7 +92,7 @@ t(({ eq, ctx }) =>
capital: 'Providence', capital: 'Providence',
region: 'Northeast', region: 'Northeast',
}, },
]), ])
) )
Object.freeze(tests) Object.freeze(tests)
@ -291,7 +291,7 @@ export const setup = () => {
}, },
{ tag: 'WI', name: 'Wisconsin', capital: 'Madison', region: 'Midwest' }, { tag: 'WI', name: 'Wisconsin', capital: 'Madison', region: 'Midwest' },
{ tag: 'WY', name: 'Wyoming', capital: 'Cheyenne', region: 'West' }, { tag: 'WY', name: 'Wyoming', capital: 'Cheyenne', region: 'West' },
].map((e) => Object.freeze(e)), ].map((e) => Object.freeze(e))
) )
return { filterCalls, arr1, arr2 } return { filterCalls, arr1, arr2 }

Loading…
Cancel
Save