From e53b2fffb100087380b4d8203b7d6385a66831ef Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Sun, 7 Apr 2019 18:33:14 -0700 Subject: [PATCH] Stop testing if conversion failed. --- npm/tests/test/fbx2gltf.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/npm/tests/test/fbx2gltf.ts b/npm/tests/test/fbx2gltf.ts index 118a2b7..93e5a27 100644 --- a/npm/tests/test/fbx2gltf.ts +++ b/npm/tests/test/fbx2gltf.ts @@ -60,6 +60,9 @@ describe('FBX2glTF', () => { } }).timeout(CONVERSION_TIMEOUT_MS); + if (!glbBytes) { + return; + } it('resulting glb should be valid', async () => { try { let options = {};