• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-typescript-sdk-gen / 16521791806

25 Jul 2025 12:19PM UTC coverage: 42.508% (+0.03%) from 42.481%
16521791806

push

github

web-flow
test: Add Archives integration tests (box/box-codegen#744) (#676)

Co-authored-by: box-sdk-build <box-sdk-build@box.com>

4472 of 18307 branches covered (24.43%)

Branch coverage included in aggregate %.

16545 of 31135 relevant lines covered (53.14%)

151.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/internal/logging.generated.ts
1
import { SerializedData } from '../serialization/json.js';
2
import { sanitizeMap } from './utils.js';
240✔
3
import { sanitizeSerializedData } from '../serialization/json.js';
240✔
4
export class DataSanitizer {
240✔
5
  private readonly keysToSanitize: {
41,558✔
6
    readonly [key: string]: string;
7
  } = {
8
    ['authorization']: '',
9
    ['access_token']: '',
10
    ['refresh_token']: '',
11
    ['subject_token']: '',
12
    ['token']: '',
13
    ['client_id']: '',
14
    ['client_secret']: '',
15
    ['shared_link']: '',
16
    ['download_url']: '',
17
    ['jwt_private_key']: '',
18
    ['jwt_private_key_passphrase']: '',
19
    ['password']: '',
20
  };
21
  constructor(
22
    fields: Omit<
23
      DataSanitizer,
24
      'keysToSanitize' | 'sanitizeHeaders' | 'sanitizeBody'
25
    >,
26
  ) {}
27
  /**
28
     * @param {{
29
        readonly [key: string]: string;
30
    }} headers
31
     * @returns {{
32
        readonly [key: string]: string;
33
    }}
34
     */
35
  sanitizeHeaders(headers: { readonly [key: string]: string }): {
36
    readonly [key: string]: string;
37
  } {
38
    return sanitizeMap(headers, this.keysToSanitize);
×
39
  }
40
  /**
41
   * @param {SerializedData} body
42
   * @returns {SerializedData}
43
   */
44
  sanitizeBody(body: SerializedData): SerializedData {
45
    return sanitizeSerializedData(body, this.keysToSanitize);
×
46
  }
47
}
48
export interface DataSanitizerInput {}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc