From 9c76e5ade1bdb5f070a31b3c7b6fa6e5623b0b35 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 = {};