Private fn doesnt not allow acces method, change into expect unit test

Signed-off-by: armandocomellas1 <cgarmando@google.com>
This commit is contained in:
armandocomellas1
2024-01-30 21:27:39 -06:00
parent e749ed8aad
commit a3df97fc41
@@ -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');
});
});
});