File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1792,12 +1792,20 @@ describe('Base', () => {
1792
1792
} ) ;
1793
1793
1794
1794
it ( "should return namespace as uniqueBy when unique is 'namespace'" , function ( ) {
1795
- const gen = new Base ( [ ] , { unique : 'namespace' , namespace : 'foo' , env : this . env } ) ;
1795
+ const gen = new Base ( [ ] , {
1796
+ unique : 'namespace' ,
1797
+ namespace : 'foo' ,
1798
+ env : this . env
1799
+ } ) ;
1796
1800
assert . equal ( gen . getFeatures ( ) . uniqueBy , 'foo' ) ;
1797
1801
} ) ;
1798
1802
1799
1803
it ( "should return namespace with first argument as uniqueBy when unique is 'namespace'" , function ( ) {
1800
- const gen = new Base ( [ 'bar' ] , { unique : 'argument' , namespace : 'foo' , env : this . env } ) ;
1804
+ const gen = new Base ( [ 'bar' ] , {
1805
+ unique : 'argument' ,
1806
+ namespace : 'foo' ,
1807
+ env : this . env
1808
+ } ) ;
1801
1809
assert . equal ( gen . getFeatures ( ) . uniqueBy , 'foo#bar' ) ;
1802
1810
} ) ;
1803
1811
} ) ;
You can’t perform that action at this time.
0 commit comments