refactoring (#4)
This commit is contained in:
4
__tests__/functions/CountOccurences.js
Normal file
4
__tests__/functions/CountOccurences.js
Normal file
@ -0,0 +1,4 @@
|
||||
const CountOccurrences = require('@dsabot/CountOccurences');
|
||||
test('Counting Occurences', () => {
|
||||
expect(CountOccurrences([1, 2, 3, 4, 1],1)).toBe(2);
|
||||
});
|
Reference in New Issue
Block a user