Skip runtime-only type check (#5593)
* Skip runtime-only type check * Add CHANGELOG
This commit is contained in:
@@ -125,9 +125,12 @@ describe('runtime definitions', (): void => {
|
||||
|
||||
for (const [key, { params, type }] of methodsEntries) {
|
||||
describe(key, (): void => {
|
||||
it(`output ${type} is known`, (): void => {
|
||||
expect(() => inspectType(type)).not.toThrow();
|
||||
});
|
||||
// Applied from runtime, used in Funglibles
|
||||
if (type !== 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>') {
|
||||
it(`output ${type} is known`, (): void => {
|
||||
expect(() => inspectType(type)).not.toThrow();
|
||||
});
|
||||
}
|
||||
|
||||
if (params.length) {
|
||||
describe('params', (): void => {
|
||||
|
||||
Reference in New Issue
Block a user