From af4573b86dd3e2cb45106244090e51238dfc565e Mon Sep 17 00:00:00 2001 From: Thiren Bunsee Date: Thu, 12 Sep 2024 13:33:38 +0200 Subject: [PATCH] test: removed unused variable --- test/test.js | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/test/test.js b/test/test.js index a586501..5b08eb0 100644 --- a/test/test.js +++ b/test/test.js @@ -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'); });