Skip to content

Commit 39b1f48

Browse files
committed
tests: update entity-yaml test file
1 parent 4333b1f commit 39b1f48

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/core/src/__tests__/entity-yaml.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ describe('entity-yaml', () => {
4141
}
4242
}
4343

44-
// Test default resolution when no type
4544
if (typeof entityFileArrayNode.items === 'function') {
4645
const unknownEntity = { key: 'unknown', title: 'Unknown' };
4746
const resolvedType = entityFileArrayNode.items(unknownEntity, 'root');
@@ -57,7 +56,6 @@ describe('entity-yaml', () => {
5756
const entityTypes = createEntityTypes(entityFileSchema, entityFileDefaultSchema);
5857
const normalizedTypes = normalizeTypes(entityTypes);
5958

60-
// Test that user type has correct required fields
6159
const userNode = normalizedTypes['user'];
6260
if (userNode && Array.isArray(userNode.required)) {
6361
expect(userNode.required).toContain('key');

0 commit comments

Comments
 (0)