Writing the API (workin in progress)

This commit is contained in:
Gaël Métais
2014-12-02 00:08:07 +01:00
parent 35aed5fb55
commit e18cd87a07
14 changed files with 344 additions and 100 deletions
+2 -1
View File
@@ -34,7 +34,7 @@ describe('yellowlabtools', function() {
this.timeout(15000);
// Check if console.log is called
sinon.spy(console, 'log')
sinon.spy(console, 'log');
var url = 'http://localhost:8388/simple-page.html';
@@ -75,6 +75,7 @@ describe('yellowlabtools', function() {
"offenders": ["body > h1[1]"]
});
/*jshint expr: true*/
console.log.should.not.have.been.called;
done();