@@ -15,7 +15,7 @@ test('should return config with one use key without property', async t => {
1515 use : 'posthtml-bem'
1616 } ;
1717 const config = await cfgResolve ( flags ) ;
18- const expected = { 'posthtml-bem' : { } } ;
18+ const expected = { plugins : { 'posthtml-bem' : { } } } ;
1919
2020 t . deepEqual ( config , expected ) ;
2121} ) ;
@@ -28,7 +28,7 @@ test('should return config with one use key with one property', async t => {
2828 }
2929 } ;
3030 const config = await cfgResolve ( flags ) ;
31- const expected = { 'posthtml-bem' : { prefix : '__' } } ;
31+ const expected = { plugins : { 'posthtml-bem' : { prefix : '__' } } } ;
3232
3333 t . deepEqual ( config , expected ) ;
3434} ) ;
@@ -38,7 +38,7 @@ test('should return config with key config', async t => {
3838 config : 'test/config/.config'
3939 } ;
4040 const config = await cfgResolve ( flags ) ;
41- const expected = { 'posthtml-bem' : { } } ;
41+ const expected = { plugins : { 'posthtml-bem' : { } } } ;
4242
4343 t . deepEqual ( config , expected ) ;
4444} ) ;
@@ -49,7 +49,7 @@ test('should return config with key config and use key', async t => {
4949 config : 'test/config/.config'
5050 } ;
5151 const config = await cfgResolve ( flags ) ;
52- const expected = { 'posthtml-bem' : { } , 'posthtml-assets' : { } } ;
52+ const expected = { plugins : { 'posthtml-bem' : { } , 'posthtml-assets' : { } } } ;
5353
5454 t . deepEqual ( config , expected ) ;
5555} ) ;
0 commit comments