File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1792,12 +1792,20 @@ describe('Base', () => {
17921792 } ) ;
17931793
17941794 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+ } ) ;
17961800 assert . equal ( gen . getFeatures ( ) . uniqueBy , 'foo' ) ;
17971801 } ) ;
17981802
17991803 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+ } ) ;
18011809 assert . equal ( gen . getFeatures ( ) . uniqueBy , 'foo#bar' ) ;
18021810 } ) ;
18031811 } ) ;
You can’t perform that action at this time.
0 commit comments