mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-04-22 10:17:56 +00:00
chore: update to version 16.5.9, align with pezkuwichain brand and fix tests
This commit is contained in:
@@ -471,6 +471,8 @@ describe('ScProvider', () => {
|
||||
subscription: token
|
||||
}
|
||||
});
|
||||
|
||||
await wait(0);
|
||||
expect(cb).toHaveBeenCalledTimes(1);
|
||||
expect(cb).toHaveBeenLastCalledWith(null, 1);
|
||||
|
||||
@@ -482,6 +484,8 @@ describe('ScProvider', () => {
|
||||
subscription: token
|
||||
}
|
||||
});
|
||||
|
||||
await wait(0);
|
||||
expect(cb).toHaveBeenCalledTimes(2);
|
||||
expect(cb).toHaveBeenLastCalledWith(null, 2);
|
||||
|
||||
@@ -575,9 +579,9 @@ describe('ScProvider', () => {
|
||||
}
|
||||
});
|
||||
|
||||
expect(token).toBe(unsubscribeToken);
|
||||
await wait(0);
|
||||
expect(cb).toHaveBeenCalledTimes(1);
|
||||
expect(cb).toHaveBeenLastCalledWith(expect.any(Error), undefined);
|
||||
expect(cb).toHaveBeenLastCalledWith(new Error('boom!'), undefined);
|
||||
});
|
||||
|
||||
it('errors when subscribing to an unsupported method', async () => {
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@pezkuwi/rpc-provider', path: 'auto', type: 'auto', version: '16.5.4' };
|
||||
export const packageInfo = { name: '@pezkuwi/rpc-provider', path: 'auto', type: 'auto', version: '16.5.9' };
|
||||
|
||||
Reference in New Issue
Block a user