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 () {
12
12
var configDir = path . join ( __dirname , 'fixtures' , 'config' ) ;
13
13
var js = loadConfig ( path . join ( configDir , 'mocharc.js' ) ) ;
14
14
var cjs = loadConfig ( path . join ( configDir , 'mocharc.cjs' ) ) ;
15
+ var mjs = loadConfig ( path . join ( configDir , 'mocharc.mjs' ) ) ;
15
16
var json = loadConfig ( path . join ( configDir , 'mocharc.json' ) ) ;
16
17
var yaml = loadConfig ( path . join ( configDir , 'mocharc.yaml' ) ) ;
17
18
expect ( js , 'to equal' , json ) ;
18
19
expect ( js , 'to equal' , cjs ) ;
20
+ expect ( mjs , 'to equal' , cjs ) ;
19
21
expect ( json , 'to equal' , yaml ) ;
20
22
} ) ;
21
23
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