diff --git a/test/core-test/runtime-field.test.js b/test/core-test/runtime-field.test.js index 9afe988..bf9f150 100644 --- a/test/core-test/runtime-field.test.js +++ b/test/core-test/runtime-field.test.js @@ -6,11 +6,6 @@ test('constructor set arguments', t => { 'keyword', "emit(doc['name'].value)" ).toJSON(); - const valueB = new RuntimeField( - 'keyword', - "emit(doc['name'].value)" - ).toJSON(); - t.deepEqual(valueA, valueB); const expected = { type: 'keyword',