From 1c945c5d007f106c0477402981db0f8111d4325b Mon Sep 17 00:00:00 2001 From: Nguyen Thai Hung <59815499+hung-cybo@users.noreply.github.com> Date: Tue, 28 May 2024 16:26:32 +0700 Subject: [PATCH] test(plugin-manifest-validator): update outdated expected result (#2786) --- packages/plugin-manifest-validator/src/__tests__/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/plugin-manifest-validator/src/__tests__/index.ts b/packages/plugin-manifest-validator/src/__tests__/index.ts index eac2f5aba6..17d13b3bae 100644 --- a/packages/plugin-manifest-validator/src/__tests__/index.ts +++ b/packages/plugin-manifest-validator/src/__tests__/index.ts @@ -43,11 +43,11 @@ describe("validator", () => { it("valid", () => { assert.deepStrictEqual( validator(json({ $schema: "https://secure-url.com/schema.json" })), - { valid: true, errors: null }, + { valid: true, errors: null, warnings: null }, ); assert.deepStrictEqual( validator(json({ $schema: "http://unsecure-url.com/schema.json" })), - { valid: true, errors: null }, + { valid: true, errors: null, warnings: null }, ); }); @@ -67,6 +67,7 @@ describe("validator", () => { schemaPath: "#/properties/%24schema/format", }, ], + warnings: null, }, ); });