File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change
1
+ class AccessLintMonitor
2
+ audit : ->
3
+ []
4
+
5
+ module .exports = new AccessLintMonitor ()
Original file line number Diff line number Diff line change 20
20
"devDependencies" : {
21
21
"gulp" : " ~3.9.0" ,
22
22
"gulp-mocha" : " ~2.1.3" ,
23
- "chai" : " ~3.2.0"
23
+ "chai" : " ~3.2.0" ,
24
+ "sinon" : " ~1.15.4" ,
25
+ "sinon-chai" : " ~2.8.0"
24
26
},
25
27
"dependencies" : {
26
28
"coffee-script" : " ~1.9.3"
Original file line number Diff line number Diff line change 1
- expect = require (" chai" ).expect
1
+ accessLintMonitor = require " ../access-lint-monitor"
2
+ chai = require " chai"
3
+ sinon = require " sinon"
4
+ sinonChai = require " sinon-chai"
5
+ expect = chai .expect
6
+
7
+ chai .use sinonChai
8
+
9
+ describe " #audit" , ->
10
+ it " runs the audit" , ->
11
+ expect (accessLintMonitor .audit ()).to .be .empty
2
12
3
- describe " true" , ->
4
- it " is true" , ->
5
- expect (true ).to .equal true
You can’t perform that action at this time.
0 commit comments