mode_edit codeAPI / @angular/core/testingensureDocumentlinkfunction 试验性的Ensure that global has Document if we are in node.jsensureDocument(): void参数没有参数。返回值void