From acf5073487ef6037c33c309617efddc7882407b1 Mon Sep 17 00:00:00 2001 From: pgayvallet Date: Wed, 12 May 2021 16:10:54 +0200 Subject: [PATCH] adapt test assertion --- src/core/server/csp/config.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/server/csp/config.test.ts b/src/core/server/csp/config.test.ts index c7f6c4a214fac..8036ebeeaad31 100644 --- a/src/core/server/csp/config.test.ts +++ b/src/core/server/csp/config.test.ts @@ -13,7 +13,7 @@ describe('config.validate()', () => { // This is intentionally not editable in the raw CSP config. // Users should set `server.securityResponseHeaders.disableEmbedding` to control this config property. expect(() => config.schema.validate({ disableEmbedding: true })).toThrowError( - '[disableEmbedding.0]: expected value to equal [false]' + '[disableEmbedding]: expected value to equal [false]' ); }); });