Skip to content

Commit bf7d553

Browse files
Cover the block-log configuration in the declaration check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1bed043 commit bf7d553

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/protect/declaration-drift.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ describe('protect.d.ts', () => {
6363
const configurations = [
6464
{ rules: bundle, reportFirewallLog: false },
6565
{ rules: bundle, reportFirewallLog: false, egress: true },
66+
// Block-log reporting on.
67+
{ rules: bundle, apiKey: 'samplesamplesamplesamplesamplesamplesamp-7', fetchImpl: async () => new Response('{}') },
6668
{ rules: bundle, reportFirewallLog: false, token: 'sample-token', refreshSecret: 'sample-secret', bootTimeoutMs: 50, cacheDir: false as any },
6769
{
6870
// Patchstack-delivered rules from the cache, so detection reporting is on.

0 commit comments

Comments
 (0)