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

visgl / loaders.gl / 24139120841

08 Apr 2026 01:53PM UTC coverage: 65.319% (+30.2%) from 35.137%
24139120841

push

github

web-flow
chore: Replace puppeteer with playwright (#3350)

14216 of 18890 branches covered (75.26%)

Branch coverage included in aggregate %.

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

3248 existing lines in 369 files now uncovered.

73509 of 115413 relevant lines covered (63.69%)

5763.45 hits per line

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

78.0
/modules/textures/src/texture-array-loader.ts
1
// loaders.gl
1✔
2
// SPDX-License-Identifier: MIT
1✔
3
// Copyright (c) vis.gl contributors
1✔
4

1✔
5
import type {LoaderContext, LoaderWithParser} from '@loaders.gl/loader-utils';
1✔
6
import type {Texture} from '@loaders.gl/schema';
1✔
7
import type {TextureLoaderOptions as TextureApiLoaderOptions} from './lib/texture-api/texture-api-types';
1✔
8
import {VERSION} from './lib/utils/version';
1✔
9
import {
1✔
10
  parseCompositeImageManifest,
1✔
11
  testCompositeImageManifestShape,
1✔
12
  type ImageTextureArrayManifest
1✔
13
} from './lib/composite-image/parse-composite-image';
1✔
14

1✔
15
export type TextureArrayLoaderOptions = TextureApiLoaderOptions;
1✔
16
export type {ImageTextureArrayManifest as TextureArrayManifest};
1✔
17

1✔
18
export const TextureArrayLoader = {
1✔
19
  dataType: null as unknown as Texture,
1✔
20
  batchType: null as never,
1✔
21
  id: 'texture-array',
1✔
22
  name: 'Texture Array',
1✔
23
  module: 'textures',
1✔
24
  version: VERSION,
1✔
25
  extensions: [],
1✔
26
  mimeTypes: [],
1✔
27
  text: true,
2✔
28
  worker: false,
2✔
29
  testText: (text: string) => testCompositeImageManifestShape(text, 'image-texture-array'),
1✔
UNCOV
30
  options: {
×
UNCOV
31
    image: {}
×
UNCOV
32
  },
×
UNCOV
33
  parse: async (
×
34
    arrayBuffer: ArrayBuffer,
×
35
    options?: TextureArrayLoaderOptions,
×
36
    context?: LoaderContext
×
37
  ) =>
×
38
    await parseCompositeImageManifest(
×
39
      new TextDecoder().decode(arrayBuffer),
×
40
      'image-texture-array',
✔
41
      options,
3✔
42
      context
3✔
43
    ),
3✔
44
  parseText: async (text: string, options?: TextureArrayLoaderOptions, context?: LoaderContext) =>
3✔
45
    await parseCompositeImageManifest(text, 'image-texture-array', options, context)
3✔
46
} as const satisfies LoaderWithParser<Texture, never, TextureArrayLoaderOptions>;
1✔
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