Skip to content

Commit ab6c605

Browse files
committed
fix Edge test
1 parent 1721836 commit ab6c605

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/lib/select/select.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ describe('MatSelect', () => {
11161116
// greater than 1em.
11171117
const triggerExtraLineSpaceAbove = (1 - triggerLineHeightEm) * triggerFontSize / 2;
11181118
const topDifference = Math.floor(optionTop) -
1119-
Math.floor(triggerTop - triggerFontSize - triggerExtraLineSpaceAbove);
1119+
Math.ceil(triggerTop - triggerFontSize - triggerExtraLineSpaceAbove);
11201120

11211121
// Expect the coordinates to be within a pixel of each other. We can't rely on comparing
11221122
// the exact value, because different browsers report the various sizes with slight (< 1px)

tools/gulp/tasks/development.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ const outDir = join(outputDir, 'packages', 'demo-app');
1919

2020
/** Array of vendors that are required to serve the demo-app. */
2121
const appVendors = [
22-
'@angular', 'systemjs', 'zone.js', 'rxjs', 'hammerjs', 'core-js', 'web-animations-js', 'moment',
22+
'@angular',
23+
'systemjs',
24+
'zone.js',
25+
'rxjs',
26+
'hammerjs',
27+
'core-js',
28+
'web-animations-js',
29+
'moment',
30+
'tslib',
2331
];
2432

2533
/** Glob that matches all required vendors for the demo-app. */

0 commit comments

Comments
 (0)