Skip to content

Commit

Permalink
Fix test from type change
Browse files Browse the repository at this point in the history
  • Loading branch information
eliperelman committed Dec 13, 2019
1 parent 8c39239 commit 96ef590
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/core/server/csp/csp_config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,5 @@ describe('CspConfig', () => {
"warnLegacyBrowsers": true,
}
`);

cspConfig.rules = ['delta', 'epsilon', 'zeta'];

expect(cspConfig).toMatchInlineSnapshot(`
CspConfig {
"header": "delta; epsilon; zeta",
"rules": Array [
"delta",
"epsilon",
"zeta",
],
"strict": true,
"warnLegacyBrowsers": true,
}
`);
});
});

0 comments on commit 96ef590

Please sign in to comment.