fix(core): Removed depricated disposePlatform

BREAKING CHANGE: previously deprecated disposePlatform was removed; see deprecation notice for migration instructions.
This commit is contained in:
Chuck Jazdzewski
2016-08-12 14:15:37 -07:00
committed by Vikram Subramanian
parent 156a52e390
commit d2825077b1
6 changed files with 13 additions and 22 deletions

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {Component, disposePlatform} from '@angular/core';
import {Component, destroyPlatform} from '@angular/core';
import {async} from '@angular/core/testing';
import {BROWSER_APP_PROVIDERS} from '@angular/platform-browser';
import {BROWSER_APP_COMPILER_PROVIDERS} from '@angular/platform-browser-dynamic';
@ -26,8 +26,8 @@ export function main() {
describe('platform-server integration', () => {
beforeEach(() => disposePlatform());
afterEach(() => disposePlatform());
beforeEach(() => destroyPlatform());
afterEach(() => destroyPlatform());
it('should bootstrap', async(() => {
var body = writeBody('<app></app>');