Move api-derive to correct location (#4343)

* Move api-derive to correct location

* Adjust (linting ok)

* No composite

* ApiDerive split

* Adjust

* Still WIP, getting closer

* It lints

* derive build issues sorted

* It builds :)

* Add system_health to mock

* api-augment usage

* Cleanups

* Adjust paths

* linting

* Some <'s

* Revert <>'s

* linting

* ordering

* Augmentation tweaks

* yarn.lock

* export
This commit is contained in:
Jaco
2021-12-18 09:18:55 +02:00
committed by GitHub
parent 7b8a6e89d9
commit 4913cf65fd
178 changed files with 720 additions and 685 deletions
+2 -3
View File
@@ -91,9 +91,8 @@ describe('Cached Observables', (): void => {
it('creates different observables for different methods but same arguments', (): void => {
// params do not match here
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment,@typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-member-access
const observable1 = (rpc.chain).subscribeNewHeads([123]);
const observable2 = rpc.state.subscribeStorage([123]);
const observable1 = rpc.chain.getHeader('123');
const observable2 = rpc.chain.getBlockHash('123');
expect(observable2).not.toBe(observable1);
});