Skip to content

Commit 7f0b269

Browse files
committed
Update export and unit tests
1 parent 1229373 commit 7f0b269

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/snaps-sdk/src/internals/structs.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('typedUnion', () => {
6666
const result = validate(Text({}), unionStruct);
6767

6868
expect(result[0]?.message).toBe(
69-
'At path: props.children -- Expected type to be one of: "Bold", "Italic", "Link", "Icon", but received: undefined',
69+
'At path: props.children -- Expected type to be one of: "Bold", "Italic", "Link", "Icon", "Skeleton", but received: undefined',
7070
);
7171
});
7272

@@ -75,7 +75,7 @@ describe('typedUnion', () => {
7575
const result = validate(Text({}), nestedUnionStruct);
7676

7777
expect(result[0]?.message).toBe(
78-
'At path: props.children -- Expected type to be one of: "Bold", "Italic", "Link", "Icon", but received: undefined',
78+
'At path: props.children -- Expected type to be one of: "Bold", "Italic", "Link", "Icon", "Skeleton", but received: undefined',
7979
);
8080
});
8181

packages/snaps-sdk/src/jsx/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export * from './Container';
4343
export * from './Section';
4444
export * from './Banner';
4545
export * from './Skeleton';
46+
export * from './utils';
4647

4748
/**
4849
* A built-in JSX element, which can be used in a Snap user interface.

0 commit comments

Comments
 (0)