From a92249fec4b6176b04b0262a72eb6379916ba178 Mon Sep 17 00:00:00 2001 From: lukascivil Date: Sun, 23 Jul 2023 00:50:01 -0300 Subject: [PATCH] Update generate-json-patch.spec.ts --- src/core/generate-json-patch.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/generate-json-patch.spec.ts b/src/core/generate-json-patch.spec.ts index 51ee43d..471abe5 100644 --- a/src/core/generate-json-patch.spec.ts +++ b/src/core/generate-json-patch.spec.ts @@ -6,7 +6,7 @@ import { JsonPatch } from '../models/jsondiffer.model' import { generateJsonPatch } from './generate-json-patch' describe('GenerateJsonPatch function', () => { - test('Should return the difference between two basic structures', () => { + test('Should generate JSON Patch operations from delta', () => { const struct1 = { '0': [{ '0': 1 }] } const struct2 = { '0': { '0': [1] } } const expectedResult: Array = [ @@ -22,7 +22,7 @@ describe('GenerateJsonPatch function', () => { expect(result).toEqual(expectedResult) }) - test('Should return the difference between two basic structures', () => { + test('Should generate JSON Patch operations from delta', () => { const struct1 = { baz: 'qux', foo: 'bar'