@@ -7,19 +7,19 @@ describe('removeFromArray', () => {
7
7
test ( 'removes multiple values' , ( ) => {
8
8
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 3 , 2 ) ) . toEqual ( [ 1 , 4 ] ) ;
9
9
} ) ;
10
- test . skip ( 'ignores non present values' , ( ) => {
10
+ test ( 'ignores non present values' , ( ) => {
11
11
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 7 , "tacos" ) ) . toEqual ( [ 1 , 2 , 3 , 4 ] ) ;
12
12
} ) ;
13
- test . skip ( 'ignores non present values, but still works' , ( ) => {
13
+ test ( 'ignores non present values, but still works' , ( ) => {
14
14
<
902A
/td> expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 7 , 2 ) ) . toEqual ( [ 1 , 3 , 4 ] ) ;
15
15
} ) ;
16
- test . skip ( 'can remove all values' , ( ) => {
16
+ test ( 'can remove all values' , ( ) => {
17
17
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 1 , 2 , 3 , 4 ) ) . toEqual ( [ ] ) ;
18
18
} ) ;
19
- test . skip ( 'works with strings' , ( ) => {
19
+ test ( 'works with strings' , ( ) => {
20
20
expect ( removeFromArray ( [ "hey" , 2 , 3 , "ho" ] , "hey" , 3 ) ) . toEqual ( [ 2 , "ho" ] ) ;
21
21
} ) ;
22
- test . skip ( 'only removes same type' , ( ) => {
22
+ test ( 'only removes same type' , ( ) => {
23
23
expect ( removeFromArray ( [ 1 , 2 , 3 ] , "1" , 3 ) ) . toEqual ( [ 1 , 2 ] ) ;
24
24
} ) ;
25
25
} ) ;
0 commit comments