@@ -4,22 +4,22 @@ describe('removeFromArray', function() {
4
4
it ( 'removes a single value' , function ( ) {
5
5
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 3 ) ) . toEqual ( [ 1 , 2 , 4 ] ) ;
6
6
} ) ;
7
- xit ( 'removes multiple values' , function ( ) {
7
+ it ( 'removes multiple values' , function ( ) {
8
8
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 3 , 2 ) ) . toEqual ( [ 1 , 4 ] ) ;
9
9
} ) ;
10
- xit ( 'ignores non present values' , function ( ) {
10
+ it ( 'ignores non present values' , function ( ) {
11
11
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 7 , "tacos" ) ) . toEqual ( [ 1 , 2 , 3 , 4 ] ) ;
12
12
} ) ;
13
- xit ( 'ignores non present values, but still works' , function ( ) {
13
+ it ( 'ignores non present values, but still works' , function ( ) {
14
14
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 7 , 2 ) ) . toEqual ( [ 1 , 3 , 4 ] ) ;
15
15
} ) ;
16
- xit ( 'can remove all values' , function ( ) {
16
+ it ( 'can remove all values' , function ( ) {
17
17
expect ( removeFromArray ( [ 1 , 2 , 3 , 4 ] , 1 , 2 , 3 , 4 ) ) . toEqual ( [ ] ) ;
18
18
} ) ;
19
- xit ( 'works with strings' , function ( ) {
19
+ it ( 'works with strings' , function ( ) {
20
20
expect ( removeFromArray ( [ "hey" , 2 , 3 , "ho" ] , "hey" , 3 ) ) . toEqual ( [ 2 , "ho" ] ) ;
21
21
} ) ;
22
- xit ( 'only removes same type' , function ( ) {
22
+ it ( 'only removes same type' , function ( ) {
23
23
expect ( removeFromArray ( [ 1 , 2 , 3 ] , "1" , 3 ) ) . toEqual ( [ 1 , 2 ] ) ;
24
24
} ) ;
25
25
} ) ;
0 commit comments