Skip to content

Commit

Permalink
fix(test): fix test for fxFlex=''
Browse files Browse the repository at this point in the history
*  remove isolating `fit()`
  • Loading branch information
ThomasBurleson committed Dec 28, 2016
1 parent 85cdcd1 commit fcf851f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/lib/flexbox/api/flex.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ describe('flex directive', () => {

describe('with static features', () => {

// @Todo resolve issues with IE and `flex: 1 1 0px`
xit('should add correct styles for default `fxFlex` usage', () => {
it('should add correct styles for default `fxFlex` usage', () => {
expectDOMFrom(`<div fxFlex></div>`).toHaveCssStyle({
'flex' : '1 1 0%', // === flex : "1"
'flex' : '1 1 1e-09px', // === flex : "1"
'box-sizing': 'border-box',
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ describe('match-media-observable-provider', () => {
}
})));


fit('can inject a MatchMediaObservable instance', async(inject(
it('can inject a MatchMediaObservable instance', async(inject(
[MatchMediaObservable, MatchMedia],
(media, matchMedia) => {
let current : MediaChange;
Expand Down

0 comments on commit fcf851f

Please sign in to comment.