| Total Complexity | 2 |
| Complexity/F | 1 |
| Lines of Code | 11 |
| Function Count | 2 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { Arr } from '../src/helpers'; |
||
| 2 | |||
| 3 | const exampleArray = new Arr([1, 2, 3]); |
||
| 4 | |||
| 5 | describe('Random', () => { |
||
| 6 | it('Check if the random value is an item from the array.', () => { |
||
| 7 | const { random } = exampleArray; |
||
| 8 | |||
| 9 | expect(true).toEqual(exampleArray.includes(random)); |
||
| 10 | }); |
||
| 11 | }); |
||
| 12 |