Skip to content

Commit

Permalink
test(layout): remove unneeded LayoutModule (#18447)
Browse files Browse the repository at this point in the history
* test(layout): remove unneeded LayoutModule

LayoutModule is an empty `NgModule` remnant from
before treeshakable providers were introduced. It is
no longer needed in this test.

* fixup! test(layout): remove unneeded LayoutModule
  • Loading branch information
CaerusKaru authored Feb 20, 2020
1 parent 4b329f0 commit a761359
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/cdk/layout/media-matcher.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,13 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {LayoutModule} from './index';
import {MediaMatcher} from './media-matcher';
import {async, TestBed, inject} from '@angular/core/testing';
import {inject} from '@angular/core/testing';
import {Platform} from '@angular/cdk/platform';

describe('MediaMatcher', () => {
let mediaMatcher: MediaMatcher;

beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [LayoutModule]
});
}));

beforeEach(inject([MediaMatcher], (mm: MediaMatcher) => {
mediaMatcher = mm;
}));
Expand Down

0 comments on commit a761359

Please sign in to comment.