Revert "test(elements): clean up TestStrategy
between tests (#36114)"
This reverts commit d98d0dbf17
because it is causing the side effects test to break on the
9.1.x branch.
This commit is contained in:
@ -45,8 +45,6 @@ if (browserDetection.supportsCustomElements) {
|
|||||||
.then(done, done.fail);
|
.then(done, done.fail);
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => strategy.reset());
|
|
||||||
|
|
||||||
afterAll(() => destroyPlatform());
|
afterAll(() => destroyPlatform());
|
||||||
|
|
||||||
it('should use a default strategy for converting component inputs', () => {
|
it('should use a default strategy for converting component inputs', () => {
|
||||||
@ -157,12 +155,6 @@ if (browserDetection.supportsCustomElements) {
|
|||||||
setInputValue(propName: string, value: string): void {
|
setInputValue(propName: string, value: string): void {
|
||||||
this.inputs.set(propName, value);
|
this.inputs.set(propName, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
reset(): void {
|
|
||||||
this.connectedElement = null;
|
|
||||||
this.disconnectCalled = false;
|
|
||||||
this.inputs.clear();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestStrategyFactory implements NgElementStrategyFactory {
|
class TestStrategyFactory implements NgElementStrategyFactory {
|
||||||
|
Reference in New Issue
Block a user