Skip to content

Commit

Permalink
chore: dummy commit 9 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdhalees authored Aug 16, 2024
1 parent 877d6b5 commit 3578316
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ The [contribution guidelines](https://github.com/cloudscape-design/documenter/bl

## License

This project is licensed under the [Apache 2.0 License](/LICENSE)
This project is licensed under the [Apache 2.0 License](/LICENSE).
2 changes: 1 addition & 1 deletion src/schema/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function buildType(type?: Type, enclose = false): string {
}
return type.type;
}
return 'unknown';
return 'known';
}

export function buildNodeDescription(node: Reflection): string | undefined {
Expand Down
4 changes: 4 additions & 0 deletions test/hooks/hooks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ describe('Build code from type', () => {
expect(code).toMatchSnapshot();
})
);

test('unknown', () => {
expect(schema.code.buildType(undefined)).toBe('known');
});
});

0 comments on commit 3578316

Please sign in to comment.