Skip to content

Commit

Permalink
Merge tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanjanroy committed May 20, 2016
1 parent a77db03 commit f0e55c2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions test/module/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,10 @@ describe('Module Tests', function() {

it('should be able to run lighthouse with just a url and options', function() {
const lighthouse = require('../..');
return lighthouse(VALID_TEST_URL, {})
.then(results => {
assert.ok(results);
});
});

it('should be able to save artifacts', function() {
// Prevent regression of github.com/GoogleChrome/lighthouse/issues/345
const lighthouse = require('../..');
return lighthouse(VALID_TEST_URL, {saveArtifacts: true})
return lighthouse(VALID_TEST_URL, {
// Prevent regression of github.com/GoogleChrome/lighthouse/issues/345
saveArtifacts: true
})
.then(results => {
assert.ok(results);
}).then(_ => {
Expand Down

0 comments on commit f0e55c2

Please sign in to comment.