Skip to content

Commit

Permalink
test: removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thiren committed Sep 12, 2024
1 parent 4a0ec6a commit af4573b
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,38 +300,6 @@ describe('Schema Magic', function () {
required: false,
},
];
const newOutput = [
{
path: 'val1',
type: 'integer',
format: undefined,
isArray: false,
required: false,
},
{
path: 'val2',
type: 'array',
format: undefined,
isArray: true,
required: false,
},
{
path: 'val2.n.a',
type: 'number',
format: undefined,
isArray: false,
inArray: true,
required: false,
},
{
path: 'val2.n.b',
type: 'string',
format: 'date-time',
isArray: false,
inArray: true,
required: false,
},
];

assert.deepEqual(SchemaMagic.flattenSchema(schema), output, 'Invalid flatten');
});
Expand Down

0 comments on commit af4573b

Please sign in to comment.