Skip to content

Commit

Permalink
adapt test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed May 12, 2021
1 parent f344583 commit acf5073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/server/csp/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
);
});
});

0 comments on commit acf5073

Please sign in to comment.