We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd25b8 commit dca7eddCopy full SHA for dca7edd
projects/testing-library/src/lib/testing-library.ts
@@ -363,6 +363,8 @@ function cleanup() {
363
}
364
365
function cleanupAtFixture(fixture) {
366
+ fixture.destroy();
367
+
368
if (!fixture.nativeElement.getAttribute('ng-version') && fixture.nativeElement.parentNode === document.body) {
369
document.body.removeChild(fixture.nativeElement);
370
0 commit comments