Skip to content

Commit 7a6dcfd

Browse files
committed
test: Fix attribute json test after number changes
1 parent 813b196 commit 7a6dcfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/attributes.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ describe('attribute json', async () => {
3737

3838
switch (content.type) {
3939
case 'integer':
40-
case 'number':
40+
case 'double':
4141
expect(typeof content.example).toBe('number');
4242
break;
4343
case 'integer[]':
44-
case 'number[]':
44+
case 'double[]':
4545
expect(Array.isArray(content.example)).toBe(true);
4646
expect(content.example.every((e: number) => typeof e === 'number')).toBe(true);
4747
break;

0 commit comments

Comments
 (0)