We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39bda63 commit 7a93199Copy full SHA for 7a93199
packages/minimal/test/lib/minimal.test.ts
@@ -197,18 +197,6 @@ describe('Minimal', () => {
197
expect(getCurrentHub().getClient()).toBe(TestClient.instance);
198
});
199
200
- test('Calls function on the client', done => {
201
- const s = jest.spyOn(TestClient.prototype, 'mySecretPublicMethod');
202
- getCurrentHub().withScope(() => {
203
- getCurrentHub().bindClient(new TestClient({}) as any);
204
- // eslint-disable-next-line deprecation/deprecation
205
- _callOnClient('mySecretPublicMethod', 'test');
206
- expect(s.mock.calls[0][0]).toBe('test');
207
- s.mockRestore();
208
- done();
209
- });
210
211
-
212
test('does not throw an error when pushing different clients', () => {
213
init({});
214
expect(() => {
0 commit comments