mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Remove test that became invalid
This commit is contained in:
parent
b84940ef0c
commit
41f3fc096d
@ -90,20 +90,6 @@ describe('ChannelCredentials Implementation', () => {
|
||||
const composedChannelCreds = channelCreds.compose(callCreds);
|
||||
assert.ok(composedChannelCreds instanceof ChannelCredentials);
|
||||
});
|
||||
|
||||
it('should be chainable', () => {
|
||||
const callCreds1 = new CallCredentialsMock();
|
||||
const callCreds2 = new CallCredentialsMock();
|
||||
// Associate both call credentials with channelCreds
|
||||
const composedChannelCreds = ChannelCredentials.createSsl()
|
||||
.compose(callCreds1)
|
||||
.compose(callCreds2);
|
||||
// Build a mock object that should be an identical copy
|
||||
const composedCallCreds = callCreds1.compose(callCreds2);
|
||||
const composedChannelCreds2 = ChannelCredentials.createSsl()
|
||||
.compose(composedCallCreds);
|
||||
assert.ok(composedChannelCreds._equals(composedChannelCreds2));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user