Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Sep 23, 2024
1 parent 87be2e3 commit c3ac1b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -3076,9 +3076,8 @@ function getTypeBucket(type) {
return 'string';
case 'map':
case 'error':
return 'object';
case 'record':
return type.name ? maybeQualify(type.name, type.namespace) : 'object';
return 'object';
default:
return typeName;
}
Expand Down
2 changes: 1 addition & 1 deletion test/test_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -3492,7 +3492,7 @@ suite('types', () => {
assert(Type.isType(t.field('unwrapped').type, 'union:unwrapped'));
});

test.only('union projection', () => {
test('union projection', () => {
const Dog = {
type: 'record',
name: 'Dog',
Expand Down

0 comments on commit c3ac1b3

Please sign in to comment.