jstests/serverless/libs/basic_serverless_test.js
/**
     * Remove recipient nodes from the donor.nodes of the BasicServerlessTest.
     */
Remove recipient nodes from the donor.nodes of the BasicServerlessTest.
Remove recipient nodes from the donor . nodes of the BasicServerlessTest .
removeRecipientNodesFromDonor() {
        jsTestLog("Removing recipient nodes from the donor.");
        this.donor.nodes = this.donor.nodes.filter(node => !this.recipientNodes.includes(node));
        this.donor.ports =
            this.donor.ports.filter(port => !this.recipientNodes.some(node => node.port === port));
    }
removeRecipientNodesFromDonor ( ) { jsTestLog ( "Removing recipient nodes from the donor." ) ; this . donor . nodes = this . donor . nodes . filter ( node => ! this . recipientNodes . includes ( node ) ) ; this . donor . ports = this . donor . ports . filter ( port => ! this . recipientNodes . some ( node => node . port === port ) ) ; }
Remove recipient nodes from the donor.nodes of the BasicServerlessTest.
Remove recipient nodes from the donor . nodes of the BasicServerlessTest .