Revert "test(elements): clean up TestStrategy between tests (#36114)"

This reverts commit d98d0dbf17a9dfca7f605cce7e307b482feed33a
because it is causing the side effects test to break on the
9.1.x branch.
This commit is contained in:
Kara Erickson 2020-05-20 11:06:08 -07:00
parent 6f3157fe6d
commit cf4883240b

View File

@ -45,8 +45,6 @@ if (browserDetection.supportsCustomElements) {
.then(done, done.fail);
});
afterEach(() => strategy.reset());
afterAll(() => destroyPlatform());
it('should use a default strategy for converting component inputs', () => {
@ -157,12 +155,6 @@ if (browserDetection.supportsCustomElements) {
setInputValue(propName: string, value: string): void {
this.inputs.set(propName, value);
}
reset(): void {
this.connectedElement = null;
this.disconnectCalled = false;
this.inputs.clear();
}
}
class TestStrategyFactory implements NgElementStrategyFactory {