Skip to content

Commit

Permalink
eslint --fix .
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Sep 6, 2018
1 parent c2901f3 commit 59bb4ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions test/relations/XmlStylesheet.js
Expand Up @@ -27,8 +27,7 @@ describe('relations/XmlStylesheet', function() {

assetGraph.findAssets({
type: 'Css'
})[0].url =
'external.css';
})[0].url = 'external.css';

const relation = assetGraph.findRelations()[0];

Expand Down
4 changes: 1 addition & 3 deletions test/transforms/reviewContentSecurityPolicy.js
Expand Up @@ -1293,9 +1293,7 @@ describe('transforms/reviewContentSecurityPolicy', function() {
await assetGraph.reviewContentSecurityPolicy(undefined, { level: 3 });

expect(warnSpy, 'to have calls satisfying', () => {
warnSpy(
/An asset violates the script-src 'unsafe-hashes'/
);
warnSpy(/An asset violates the script-src 'unsafe-hashes'/);
});
});

Expand Down

0 comments on commit 59bb4ae

Please sign in to comment.