Explorar o código

fix expected texture resource count

Alexander Rose %!s(int64=5) %!d(string=hai) anos
pai
achega
e535c4efa8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/mol-gl/_spec/renderer.spec.ts

+ 1 - 1
src/mol-gl/_spec/renderer.spec.ts

@@ -128,7 +128,7 @@ describe('renderer', () => {
         scene.add(points);
         scene.commit();
         expect(ctx.stats.resourceCounts.attribute).toBe(4);
-        expect(ctx.stats.resourceCounts.texture).toBe(5);
+        expect(ctx.stats.resourceCounts.texture).toBe(6);
         expect(ctx.stats.resourceCounts.vertexArray).toBe(5);
         expect(ctx.stats.resourceCounts.program).toBe(5);
         expect(ctx.stats.resourceCounts.shader).toBe(10);