jest throws no errors

This commit is contained in:
2021-04-10 20:14:29 +02:00
parent ab6a108b4f
commit d1d6ce474b
2 changed files with 15 additions and 9 deletions

View File

@ -1,4 +1,6 @@
const CountOccurrences = require('@dsabot/CountOccurences');
const {
CountOccurences
} = require('../../functions/CountOccurences');
test('Counting Occurences', () => {
expect(CountOccurrences([1, 2, 3, 4, 1],1)).toBe(2);
});
expect(CountOccurences([1, 2, 3, 4, 1], 1)).toBe(2);
});