File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,12 @@ describe('config', function () {
1212 var configDir = path . join ( __dirname , 'fixtures' , 'config' ) ;
1313 var js = loadConfig ( path . join ( configDir , 'mocharc.js' ) ) ;
1414 var cjs = loadConfig ( path . join ( configDir , 'mocharc.cjs' ) ) ;
15+ var mjs = loadConfig ( path . join ( configDir , 'mocharc.mjs' ) ) ;
1516 var json = loadConfig ( path . join ( configDir , 'mocharc.json' ) ) ;
1617 var yaml = loadConfig ( path . join ( configDir , 'mocharc.yaml' ) ) ;
1718 expect ( js , 'to equal' , json ) ;
1819 expect ( js , 'to equal' , cjs ) ;
20+ expect ( mjs , 'to equal' , cjs ) ;
1921 expect ( json , 'to equal' , yaml ) ;
2022 } ) ;
2123
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ // a comment
4+ export default {
5+ require : [ 'foo' , 'bar' ] ,
6+ bail : true ,
7+ reporter : 'dot' ,
8+ slow : 60
9+ } ;
You can’t perform that action at this time.
0 commit comments