From 58e7be3554fcc0506fc48cbc3da8e585368778b1 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Wed, 20 May 2020 00:00:45 +0800 Subject: [PATCH] test(render): update model test --- packages/renderer/src/regl/__tests__/model.uniform.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/renderer/src/regl/__tests__/model.uniform.spec.ts b/packages/renderer/src/regl/__tests__/model.uniform.spec.ts index 42afd64a1b..79313bc083 100644 --- a/packages/renderer/src/regl/__tests__/model.uniform.spec.ts +++ b/packages/renderer/src/regl/__tests__/model.uniform.spec.ts @@ -137,6 +137,7 @@ describe('uniforms in ReglModel', () => { expect(model2.uniforms['u_Struct.k'] instanceof ReglTexture2D).toBeTruthy(); // @ts-ignore expect( + // @ts-ignore model2.uniforms['u_Struct.l'] instanceof ReglFramebuffer, ).toBeTruthy(); // @ts-ignore @@ -179,6 +180,7 @@ describe('uniforms in ReglModel', () => { u_4: { a: 2, }, + // @ts-ignore u_5: [ { c: 100, // 只修改第一个