Add nested test

This commit is contained in:
Sidharth Vinod 2022-08-24 12:33:32 +05:30
parent fd70b862ed
commit c37ff47ee3
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ describe('Sanitize text', function () {
describe('generic parser', function () {
it('should parse generic types', function () {
const result = parseGenericTypes('test~T~');
expect(result).toEqual('test<T>');
expect(parseGenericTypes('test~T~')).toEqual('test<T>');
expect(parseGenericTypes('test~Array~Array~string~~~')).toEqual('test<Array<Array<string>>>');
});
});