Skip to content

Commit

Permalink
Force autoprefixer to include all known browser versions in prefixing…
Browse files Browse the repository at this point in the history
… test. Turns out the output moves over time and thus can't be asserted on with default settings
  • Loading branch information
Munter committed Jan 15, 2015
1 parent d2ea0e1 commit 1336a2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/transforms/autoprefixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ describe('transforms.autoprefixer', function () {
expect(assetGraph, 'to contain relations', 'HtmlStyle', 2);
expect(assetGraph, 'to contain relations', 'CssImage', 1);
})
.autoprefixer()
.autoprefixer('last 100 versions')
.queue(function (assetGraph) {
expect(assetGraph, 'to contain relations', 'HtmlStyle', 2);
expect(assetGraph, 'to contain relations', 'CssImage', 3);
expect(assetGraph, 'to contain relations', 'CssImage', 4);
})
.run(done);
});
Expand Down

0 comments on commit 1336a2f

Please sign in to comment.