From 9e61e8592dad247318eae4b1116b1994eb9ed288 Mon Sep 17 00:00:00 2001 From: Garrett Johnson <garrett.kjohnson@gmail.com> Date: Fri, 14 Oct 2022 23:25:58 -0700 Subject: [PATCH] lint fixes --- test/MeshBVH.test.js | 3 +-- test/VertexAttributeTexture.test.js | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/MeshBVH.test.js b/test/MeshBVH.test.js index 90f70c35a..f327add0c 100644 --- a/test/MeshBVH.test.js +++ b/test/MeshBVH.test.js @@ -10,7 +10,7 @@ import { TorusGeometry, BufferAttribute, Vector3, - Geometry + Geometry, } from 'three'; import { MeshBVH, @@ -21,7 +21,6 @@ import { validateBounds, } from '../src/index.js'; -console.log(Geometry, BufferGeometry) Mesh.prototype.raycast = acceleratedRaycast; BufferGeometry.prototype.computeBoundsTree = computeBoundsTree; BufferGeometry.prototype.disposeBoundsTree = disposeBoundsTree; diff --git a/test/VertexAttributeTexture.test.js b/test/VertexAttributeTexture.test.js index 7bc1468a6..cf14a8428 100644 --- a/test/VertexAttributeTexture.test.js +++ b/test/VertexAttributeTexture.test.js @@ -28,7 +28,7 @@ describe( 'FloatVertexAttributeTexture', () => { const tex = new FloatVertexAttributeTexture(); tex.updateFrom( ba ); - expect( tex.source.data.data ).toEqual( new Uint8Array( [ 255, 255, 255, 255 ] )); + expect( tex.source.data.data ).toEqual( new Uint8Array( [ 255, 255, 255, 255 ] ) ); } ); @@ -41,7 +41,7 @@ describe( 'FloatVertexAttributeTexture', () => { const tex = new FloatVertexAttributeTexture(); tex.updateFrom( ba ); - expect( tex.source.data.data ).toEqual( new Int8Array( [ - 127, - 127, - 127, - 127 ] )); + expect( tex.source.data.data ).toEqual( new Int8Array( [ - 127, - 127, - 127, - 127 ] ) ); } );