Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
Add a test specifically for IE8
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvdo committed Jul 1, 2015
1 parent 3d6fb02 commit a6dea58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/pixrem-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ describe('pixrem', function () {
expect(processed).toBe(expected);
});

it('should add fallback when only IE8 is in scope', function () {
var css = '.rule{width: 2rem}';
var expected = '.rule{width: 32px;width: 2rem}';
var processed = pixrem.process(css, undefined, {browsers: 'ie 8'});
expect(processed).toBe(expected);
});

it('should add fallback when only IE6 is in scope', function () {
var css = '.rule{width: 2rem}';
var expected = '.rule{width: 32px;width: 2rem}';
Expand Down

0 comments on commit a6dea58

Please sign in to comment.