Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit fcf851f

Browse files
fix(test): fix test for fxFlex=''
* remove isolating `fit()`
1 parent 85cdcd1 commit fcf851f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/lib/flexbox/api/flex.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ describe('flex directive', () => {
3838

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

41-
// @Todo resolve issues with IE and `flex: 1 1 0px`
42-
xit('should add correct styles for default `fxFlex` usage', () => {
41+
it('should add correct styles for default `fxFlex` usage', () => {
4342
expectDOMFrom(`<div fxFlex></div>`).toHaveCssStyle({
44-
'flex' : '1 1 0%', // === flex : "1"
43+
'flex' : '1 1 1e-09px', // === flex : "1"
4544
'box-sizing': 'border-box',
4645
});
4746
});

src/lib/media-query/providers/match-media-observable-provider.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ describe('match-media-observable-provider', () => {
7070
}
7171
})));
7272

73-
74-
fit('can inject a MatchMediaObservable instance', async(inject(
73+
it('can inject a MatchMediaObservable instance', async(inject(
7574
[MatchMediaObservable, MatchMedia],
7675
(media, matchMedia) => {
7776
let current : MediaChange;

0 commit comments

Comments
 (0)