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

visgl / loaders.gl / 24153816851

08 Apr 2026 07:17PM UTC coverage: 53.247% (-12.1%) from 65.319%
24153816851

push

github

web-flow
chore: Move from tape to vitest (#3351)

8651 of 17291 branches covered (50.03%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

2031 existing lines in 296 files now uncovered.

17563 of 31940 relevant lines covered (54.99%)

5279.54 hits per line

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

0.0
/modules/parquet/src/polyfills/buffer/buffer-polyfill.node.ts
1
// loaders.gl
2
// SPDX-License-Identifier: MIT
3
// Copyright vis.gl contributors
4

5
import {Buffer as BufferPolyfill} from './buffer';
6

7
/** Install the Node.js Buffer polyfill (NO-OP in Node.js) */
8
export function installBufferPolyfill(): typeof Buffer {
UNCOV
9
  const Buffer_ = typeof Buffer !== 'undefined' ? Buffer : null;
×
UNCOV
10
  if (!Buffer_) {
×
11
    // @ts-expect-error
12
    globalThis.Buffer = BufferPolyfill;
×
13
    return BufferPolyfill as unknown as typeof Buffer;
×
14
  }
15

UNCOV
16
  globalThis.process = globalThis.process || {};
×
17
  // Buffer is a global variable in Node.js
UNCOV
18
  return Buffer_;
×
19
}
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