Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

uber / deck.gl / 13074

28 Aug 2019 - 0:36 coverage decreased (-2.5%) to 80.994%
13074

Pull #3496

travis-ci-com

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
use timeline
Pull Request #3496: Transition system refactor (1/2): use timeline

3394 of 4574 branches covered (74.2%)

Branch coverage included in aggregate %.

54 of 58 new or added lines in 9 files covered. (93.1%)

818 existing lines in 101 files now uncovered.

6953 of 8201 relevant lines covered (84.78%)

4628.87 hits per line

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

41.67
/modules/mesh-layers/src/scenegraph-layer/gltf-utils.js
1
/* global requestAnimationFrame */
2×
2

3
export async function waitForGLTFAssets(gltfObjects) {
4
  const remaining = [];
1×
5

6
  gltfObjects.scenes.forEach(scene => {
1×
UNCOV
7
    scene.traverse(model => {
!
UNCOV
8
      Object.values(model.model.program.uniforms).forEach(uniform => {
!
9
        if (uniform.loaded === false) {
Branches [[0, 0], [0, 1]] missed. !
10
          remaining.push(uniform);
!
11
        }
12
      });
13
    });
14
  });
15

16
  return await waitWhileCondition(() => remaining.some(uniform => !uniform.loaded));
1×
17
}
18

19
async function waitWhileCondition(condition) {
20
  while (condition()) {
1×
UNCOV
21
    await new Promise(resolve => requestAnimationFrame(resolve));
!
22
  }
23
}
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2019 Coveralls, LLC