Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
raveclassic committed Oct 28, 2019
1 parent 0793834 commit 33fce8f
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,4 @@ describe('SerializedType', () => {
}),
);
});
it('getSerializedRecursiveType', () => {
assert(
property($refArbitrary, serializedTypeArbitrary, (from, s) => {
const typeName = getTypeName(from.name);
const ioName = getIOName(from.name);
expect(getSerializedRecursiveType(from, true)(s)).toEqual(
serializedType(
s.type,
`recursion<${typeName}, unknown>('${ioName}', ${ioName} => ${s.io})`,
[...s.dependencies, serializedDependency('recursion', 'io-ts')],
s.refs,
),
);
}),
);
});
});

0 comments on commit 33fce8f

Please sign in to comment.