Private fn doesnt not allow acces method, change into expect unit test
Signed-off-by: armandocomellas1 <cgarmando@google.com>
This commit is contained in:
@@ -498,8 +498,8 @@ describe('GkeClusterLocator', () => {
|
||||
refreshIntervals,
|
||||
);
|
||||
|
||||
expect(getHeaders.client._opts).toHaveProperty('libName');
|
||||
expect(getHeaders.client._opts).toHaveProperty('libVersion');
|
||||
expect(getHeaders).toHaveProperty('client._opts.libName');
|
||||
expect(getHeaders).toHaveProperty('client._opts.libVersion');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user